IWorkspace.GetModelUnitByLoadMode method
Namespace: NextDesign.Desktop
Description
Gets the model unit that is set to the specified load mode.
argument
| Name | Type | Description |
|---|---|---|
| project | IProject | Project |
| loadMode | string | Load mode - "Auto": Automatic loading - "Manual": Manual loading |
Return value
- IEnumerable<IModelUnit>
Exception
| 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 |