Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I have so many history parts, more than 10000, I want to know the unit (inch or mm) of every part, how can I get the unit info by batch, don't need open it in Creo one by one?
Appreciate your help.
Write a script to search your files for principal_sys_units. The next few characters will indicate the units.
Open a part file in notepad to see what is in there as text data.
Thanks for your reply, but I can't find the string "principal_sys_units" in any of my part, strange, I can find "UnitSystemDef_L03" in some parts, but not every one include this string. Could you give me further introduction?
Could you share a file to check?