Hello,
Does anyone know when FileTypeEnum.kDesignElementFileType is used for?
Thanks,
Solved! Go to Solution.
Solved by WCrihfield. Go to Solution.
Solved by Michael.Navara. Go to Solution.
I'm not sure how this value can be obtained.
But similar property Document.DocumentType can return value DocumentTypeEnum.kDesignElementDocumentObject for iFeature (.ide) files
Hi guys. Another good place to look for document sub type information that you can actually read is within the standard iProperties, as follows:
PropertySet.Name = "Design Tracking Properties" / PropertySets.Item(3) / "{32853F0F-3444-11d1-9E93-0060B03C1CA6}"
Property.Name = "Document SubType Name" / PropertySet.Item(17) / PropID = 32
Its value is the full, readable type name, not that long GUID String.
There is also an iProperty in that same set named "Document SubType" (PropertySet.Item(16), that will return the GUID of the sub type, like what you get from the Document.SubType property.
Sometimes you can check the value of that 'Document SubType Name' property to get what you are looking for, but even that value can be awkward to understand. Other than the main document types and sub types that we are all familiar with, the iFeature one is about the only other one that is easy to understand, because it has "iFeature" right in that value. The SDK documents contained one about Document SubTypes, which showed regular name - long name - GUID value in a list, but it did not mention the FileTypeEnum.
Wesley Crihfield
(Not an Autodesk Employee)
Thank you, @Michael.Navara and @WCrihfield !!
I had completely forgotten all about .ide.
It must be so!
Can't find what you're looking for? Ask the community or share your knowledge.