Skip to main content
1-Visitor
May 19, 2017
Question

How to get prt file unit and don't need to open it in Creo?

  • May 19, 2017
  • 1 reply
  • 2202 views

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.

1 reply

23-Emerald III
May 19, 2017

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.

WhiteChen1-VisitorAuthor
1-Visitor
May 22, 2017

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?

Mahesh_Sharma
22-Sapphire I
May 22, 2017

Could you share a file to check?

Units.bmp