IModelUnit interface
Namespace: NextDesign.Core
Description
Access object for model unit information.
Affiliation area
| Name | Description |
|---|---|
| Workspace project | A set of APIs to access the workspace of the application and the projects opened in the application. |
Property
| Name | Description |
|---|---|
| AbsolutePath | absolute path of physical file |
| HasLoadError | Checks for loading errors in this unit. |
| IsExternalUnit | Checks if this unit is an external unit. External units are added by reference registration and managed outside the project folder. |
| IsReadonly | Checks if this unit is a read-only unit. |
| Loaded | Checks if the contents of this unit have been loaded into the project. |
| Name | unit name |
| PhysicalFileExits | Checks if a physical file exists. |
| ScmStatus | Configuration management status. Returns null if the project is not linked to a configuration management system. |
| TopElementId | The identifier of the base element in this unit. Returns null if there is no base element. Usually, the base element is the following element depending on the unit type. - "Project" : Project - "Model" : Model divided into units - "Profile" : Profile - Other than above : None |
| Type | Unit type - "Project" : Project unit - "Model" : Model unit />- "Profile" : profile unit - "Library" : library - "IndexCache" : index - "Unknown" : unknown |
| UnitPath | Unit path. Usually, the path is relative to the project folder. Returns the absolute path for units outside the project folder added by reference registration. |