File Object


Description

The File object represents an Inventor file on disk.

Properties

Name Description
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
FileSaveCounter Returns the number that is indicative of the number of times the file has been saved.
FullFileName
HasLoadedDocuments
HasReferencingFiles
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
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