The ICadDoc type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | ActiveModelState |
Gets and sets the active model state, in a part or assembly that has more than one model state.
|
![]() | Document |
Gets the document in which the rule is running.
|
![]() | FactoryDocument |
If the rule is running in a model state member document, this returns the corresponding factory document.
Otherwise, in a part or assembly this returns the same object as the Document property.
In a drawing, this returns Nothing.
|
![]() | FileName |
Gets the filename of the file in which the rule is running.
|
![]() | Geometry |
Gets an object that can be used to create points, vectors, and matrices that have values in the units of the document in which the rule is running.
|
![]() | ModelDocument |
In a part or assembly, this will get the document in which the rule is running.
In a drawing, this will get the document that is shown in the first view of a model that is found. If no such view is found, a value of Nothing will be returned.
|
![]() | NamedEntities |
Gets the named entities (faces, edges, and vertices) and the work features in a document.
|
![]() | Path |
Gets the path of the folder that stores the document in which the rule is running.
|
![]() | PathAndFileName |
Gets the complete path with filename of the document in which the rule is running.
|
![]() | WorkspacePath |
Gets the path of the workspace folder of the active project. This will be empty if no workspace is defined.
|