IWorkspaceState.SetCurrentModel method
Namespace: NextDesign.Desktop
Description
Sets the current model for the current workspace.
argument
Name | Type | Description |
---|---|---|
model | IModel | Model |
Return value
- void
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If null is specified for model |
An invalid model was specified | ExtensionInvalidModelException | If a deleted model was specified for model |
A model other than the project being edited is specified | ExtensionInvalidModelException | If a model other than the project being edited is specified for model |