Skip to main content

IWorkspaceState.SetActiveEditorSelectedModel Method

Namespace: NextDesign.Desktop

Description

Sets the selected element of the active editor.
This API only changes the retained state, and does not change the selection state on the screen.
If you get the selected element with IWorkspaceState.ActiveEditorSelectedModel{get;}, you can get the value changed by this API.
When executed on the main editor, if the display mode of the sub-editor is "Detail" mode, the model to be displayed in the sub-editor will be switched.
If a model other than the project being edited is specified, nothing will be done and the program will end normally.

Arguments

NameTypeDescription
modelIModelModel

Return value

  • void