AutoCADBlockDefinitions Object
Description
The AutoCADBlockDefinitions collection object provides access to all the existing AutoCADBlockDefinition objects in a (DWG) drawing document and provides methods to import additional definitions.
Methods
AddFromFile |
Method that imports AutoCAD block definitions from an AutoCAD or an Inventor DWG file. |
Properties
Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
Count |
Property that returns the number of items in this collection. |
Item |
Returns the specified AutoCADBlockDefinition object from the collection. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
DrawingDocument.AutoCADBlockDefinitions
Samples
Version
Introduced in version 2011