Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is FileTypeEnum.kDesignElementFileType?

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
HideoYamada
188 Views, 3 Replies

What is FileTypeEnum.kDesignElementFileType?

Hello,

 

Does anyone know when FileTypeEnum.kDesignElementFileType is used for?

 

Thanks,

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp
3 REPLIES 3
Message 2 of 4

I'm not sure how this value can be obtained.

But similar property Document.DocumentType can return value DocumentTypeEnum.kDesignElementDocumentObject for iFeature (.ide) files

Message 3 of 4
WCrihfield
in reply to: HideoYamada

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

EESignature

(Not an Autodesk Employee)

Message 4 of 4
HideoYamada
in reply to: WCrihfield

Thank you, @Michael.Navara and @WCrihfield !!

 

I had completely forgotten all about .ide.

It must be so!

 

=====
Freeradical
 Hideo Yamada
https://www.freeradical.jp

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report