File Object
Description
The File object represents an Inventor file on disk.
Properties
AllReferencedFiles |
Property that returns all the file references of this File along with all of the recursively nested references. |
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. |
AvailableDocuments |
Property that returns an enumeration of all the documents within this file that are currently available (i.e. have been initialized). The returned documents may or may not be open. The property returns a DocumentsEnumerator object in Inventor and a ApprenticeServerDocuments in Apprentice. |
DatabaseRevisionId |
Gets the GUID that represents the last saved revision of database contained in this file. This revision id tracks modifications to the database (such as reference changes, geometry changes, etc.) but does not track file property changes. |
FileSaveCounter |
Returns the number that is indicative of the number of times the file has been saved. |
FullFileName |
Gets and sets the fully qualified name of this file. This property can only be set if this file has never been saved. |
HasLoadedDocuments |
Read-only property that returns whether any documents within this file is loaded or not. |
HasReferencingFiles |
Read-only property that returns whether this file is referenced by any other files in memory or not. |
InternalName |
Property that gets the Internal Name (a GUID) for this File. |
ReferencedFileDescriptors |
Property that returns an enumeration of descriptors that represent the direct file references held by this file. |
ReferencedFiles |
Property that returns all the files directly referenced by this file. |
ReferencingFiles |
Property that returns all the files in memory that reference this file. |
RevisionId |
Gets the GUID that represents the last saved revision of this file. Works as a stamp of the contents of this file. |
SoftwareVersionCreated |
Read-only property that returns object that encapsulates version of the software with which this file was created. |
SoftwareVersionSaved |
Read-only property that returns object that encapsulates version of the software with which this file was last saved. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
ApprenticeServerDocument.File,
ApprenticeServerDrawingDocument.File,
AssemblyDocument.File,
Document.File,
DrawingDocument.File,
FileDescriptor.Parent,
FileDescriptor.ReferencedFile,
FilesEnumerator.Item,
PartDocument.File,
PresentationDocument.File
Version
Introduced in version 11