Skip to main content

IWorkspace.SetLoadMode Method

Namespace: NextDesign.Desktop

Description

Sets the load mode for the model unit.
Ignored if the specified unit is not managed by the specified project.

Arguments

NameTypeDescription
projectIProjectProject
unitsIEnumerable<IModelUnit>Model unit
loadModestringLoad mode
- "Auto" : Automatic load
- "Manual" : Manual load

Return value

  • void

Exceptions

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for project
If null is specified for units
If a string other than the default string is specified for loadMode
Not supportedExtensionNotSupportedExceptionIf the current edition of the application is not compatible