IWorkspace.SetLoadMode method
Namespace: NextDesign.Desktop
Description
Sets the model unit load mode.
Ignored if the specified unit is not managed by the specified project.
argument
Name | Type | Description |
---|---|---|
project | IProject | Project |
units | IEnumerable<IModelUnit> | Model unit |
loadMode | string | Load mode - "Auto": Automatic loading - "Manual": Manual loading |
Return value
- void
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null is specified for project If null is specified for units If a string other than the default string is specified for loadMode |