FileDescriptor Object
Description
The FileDescriptor object represents a reference to an Autodesk Inventor file or a foreign file.
Methods
GetCustomLogicalFileName |
Similar in nature to the Logical Filename, except that the application interprets and perhaps controls the location and access to the file being referenced. |
PutCustomLogicalFileName |
This method does the posting of the Custom Logical Filename referred to in GetCustomLogicalFileName. |
ReplaceReference |
Method that replaces the referenced 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. |
FileSaveCounter |
Property that returns the save counter associated with the file. |
FullFileName |
Property that returns the full path name of the file as currently found (or the last known full file name, if the reference is not found). |
LibraryName |
Gets the name of the library this reference was resolved in. This property is only valid when ReferenceMissing is false. |
LocationType |
Gets the type of location this reference was resolved in. This property is only valid when ReferenceMissing is false. |
Parent |
Property that returns the parent File object of this descriptor. |
ReferencedFile |
Property that returns the File object being referenced. The property returns Nothing for foreign file references. |
ReferencedFileType |
Property that returns type of the referenced file. |
ReferenceDisabled |
Gets whether the link to this file is disabled. |
ReferenceInternalNameDifferent |
Gets whether the internal name of the referenced file is different from the last time the parent (referencing) file was saved. A value of True indicates that the currently referenced file has a different internal name than the originally referenced file. |
ReferenceLocationDifferent |
Gets whether the file path or the file name of the referenced file is different from the last time the parent (referencing) file was saved. A value of True indicates that the currently referenced file has a different file path or file name. |
ReferenceMissing |
Property that returns whether the referenced file is missing (unresolved). |
RelativeFileName |
Gets the relative file name from the resolved location of this reference. This property is only valid when ReferenceMissing is false. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
BOMRow.ReferencedFileDescriptor,
DocumentDescriptor.ReferencedFileDescriptor,
FileDescriptorsEnumerator.Item,
ReferencedOLEFileDescriptor.FileDescriptor
Version
Introduced in version 11