Skip to main content

IWorkspaceState.SetCurrentModel method

Namespace: NextDesign.Desktop

Description​

Sets the current model for the current workspace.

argument​

NameTypeDescription
modelIModelModel

Return value​

  • void

Exception​

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for model
An invalid model was specifiedExtensionInvalidModelExceptionIf a deleted model was specified for model
A model other than the project being edited is specifiedExtensionInvalidModelExceptionIf a model other than the project being edited is specified for model