Hi all,
Is there a generic way of getting the type GUID associated to a project item type string ?
Also, I don't necessarily have an instance of the project item in my project, so I cannot use directly the ProjectItem property "Type GUID".
Example:
"Elemental IO" gives "{A117026A-AD51-4C63-8341-085C842E9D22}"
"Library" gives "{ABC740D6-F254-4BBC-5675-8858F35B820E}"
"FPGA Base Clock" gives "{EF04866F-AE99-4C3F-B28B-879B709E5BBE}"
…
Second question to go further:
Are the type GUIDs always the same for a given type string ? Or is it dependent from projects or LV versions ?
For example, will items of type string "Elemental IO" ALWAYS have a type GUID of "{A117026A-AD51-4C63-8341-085C842E9D22}" ?
If the answer is yes, I could definitely have an hardcoded conversion table and the problem would be solved 😅.
Thanks.