Share

IManagedDrawing Properties

The IManagedDrawing type exposes the following members.

Properties

  NameDescription
Public propertyActiveSheet
Gets the active sheet.
Public propertyDocument
Gets the drawing document in which the rule is running.
(Inherited from ICadDrawing.)
Public propertyGeometry
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.
Public propertyKeepExtraResources
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.
(Inherited from ICadDrawing.)
Public propertyModelDocument
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.
(Inherited from ICadDrawing.)
Public propertyModelFactoryDocument
If the document returned by the ModelDocument is a model state member document, then this will get the corresponding factory document.
(Inherited from ICadDrawing.)
Public propertyName
Gets the name of the item.
(Inherited from IManagedItem(T).)
Public propertyNativeEntity
Gets the native Inventor API entity that is being managed.
(Inherited from IManagedItem(T).)
Public propertyResourceFileName
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.
(Inherited from ICadDrawing.)
Public propertySheet
Gets the sheet with the specified name. An exception (error) will be thrown if the sheet is not found. This is an older ICadDrawing property. In new code, use the Sheets property.
Public propertySheets
Gets the collection of sheets in the drawing. Each sheet is of the type IManagedSheet.

See Also

Reference

Was this information helpful?