ICadDrawing Interface |
In a rule, this interface is implemented by the predefined object named ThisDrawing.
Namespace: Autodesk.iLogic.Interfaces
The ICadDrawing type exposes the following members.
Name | Description | |
---|---|---|
ActiveSheet |
Gets the active sheet.
| |
Document |
Gets the drawing document in which the rule is running.
| |
KeepExtraResources |
If this is set to False, then resources that have been copied from the drawing specified by ResourceFileName will be deleted from the current drawing
when an iLogic function is used to replace them. This helps to redcue the number of unused resources stored in the drawing.
The default value is True.
| |
ModelDocument |
Gets the document that is shown in the first view of a model that is found in the current drawing.
If no such view is found, a value of Nothing will be returned.
| |
ResourceFileName |
Gets or sets a path with filename that specifies the name of another drawing from which to pull title block and border definitions for the sheet TitleBlock and Border functions.
This can be a relative or absolute path.
| |
Sheet |
Gets the sheet with the specified name.
An exception (error) will be thrown if the sheet is not found.
|