IWorkspace.GetModelUnitByLoadMode Method
Namespace: NextDesign.Desktop
Description
Gets the model unit with the specified load mode setting.
Arguments
Name | Type | Description |
---|---|---|
project | IProject | Project |
loadMode | string | Load mode - "Auto" : Automatic load - "Manual" : Manual load |
Return value
- IEnumerable<IModelUnit>
Exceptions
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null is specified for project If a string other than the default string is specified for loadMode |
Not supported | ExtensionNotSupportedException | If the current edition of the application is not compatible |