IModel.GetRepresentationsInEditor Method
Namespace: NextDesign.Core
Description
Gets all representation information for this instance in the specified editor.
This method evaluates IContextOption.EditorAccessMode.
If there are no corresponding elements, it returns an empty collection.
Depending on the EditorAccessMode specified, the latest model changes will not be synchronized.
Therefore, please note that correct information may not be obtained for editors that have not been displayed since changing the model.
Arguments
Name | Type | Description |
---|---|---|
editor | IEditor | Editor null cannot be specified. |
Return value
- IRepresentationCollection
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If editor is set to null |