IModel.GetRepresentationsInEditor method
Namespace: NextDesign.Core
Description
Gets all presentation information corresponding to this instance in the specified editor.
This method evaluates IContextOption.EditorAccessMode.
Returns an empty collection if there are no such elements.
The latest model changes are not synchronized depending on the EditorAccessMode specified.
Therefore, please note that the correct information may not be obtained with an editor etc. that has not been displayed even once after changing the model.
argument
Name | Type | Description |
---|---|---|
editor | IEditor | Editor Cannot be null. |
Return value
- IRepresentationCollection
Exceptions
Name | Exception Class | Description |
---|---|---|
Argument invalid | ExtensionArgumentException | When null is specified for editor |