cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

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

WhiteChen
5-Regular Member

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

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.

4 REPLIES 4
BenLoosli
23-Emerald II
(To:WhiteChen)

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.

WhiteChen
5-Regular Member
(To:BenLoosli)

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?

Units.bmp

WhiteChen
5-Regular Member
(To:Mahesh_Sharma)

FYI

Top Tags