Use the Advanced Drawing API functions if you want to take advantage of API functions.
Note the following interface types for objects used in the Drawing functions:
- ThisDrawing is of the type ICadDrawing.
- Sheet is of the type ICadSheet.
- View is of the type ICadView.
To access the advanced drawing API functions, expand the Acvanced Drawing node on the System tab in the Snippets area of the iLogic Edit Rule dialog.
ThisDrawing.Document
Accesses the underlying drawing document. Returns an object of type Inventor.DrawingDocument.
ICadSheet.Sheet
Accesses the underlying sheet. Returns an object of type Inventor.Sheet.
ICadView.View
Accesses the underlying view object. Returns an object of type Inventor.DrawingView.
ICadView.ModelDocument
Accesses the document shown in this view. Returns an object of type Inventor.Document. Returns Nothing if the document is not a model view.