Documents Object
Derived from:
DocumentsEnumerator Object
Description
The Document collection object contains all in-memory Inventor documents.
Methods
Add |
Creates a new of the specified type. Optionally, a template file can be specified instead. |
CloseAll |
Method that closes all the documents in the current Inventor session. Changes are not saved to any of the documents. In other words, if there are dirty documents in the collection, changes made to them will be lost. |
Open |
Method that opens the specified Inventor document. |
OpenWithOptions |
Method that opens the specified Inventor document. |
Properties
Count |
Property that returns the number of items in this collection. |
Item |
Returns the specified object from the collection. This is the default property of the DocumentsEnumerator object. |
ItemByName |
Returns the specified Document object from the collection. |
LoadedCount |
Query Loaded documents. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
VisibleDocuments |
Gets the collection of visible documents. |
Accessed From
Application.Documents,
InventorServer.Documents,
InventorServerObject.Documents
Samples
Version
Introduced in version 4