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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

material unit change

ssreevalsan
8-Gravel

material unit change

 

hi

how to change unit to g/cm3

 

ssreevalsan_1-1717659288622.png

 

3 REPLIES 3

If you edit the material file that specifies the properties for "AlMg" you will find a section that defines the density, which looks something like this

 

{
  Name = PTC_MASS_DENSITY
  Type = Real
  Default = 7.20e+3 kg/m^3
  Access = Full
},

 

As you can see, the units for the value are specified. Change the file you have to the proper units and away you go.

You'll probably have to close Creo then re-open it for the change to be in effect. Just a guess, but always best practice.

Material files (.mtl) are just text files. So you could open the mtl file in a text editor (like notepad or notepad ++) and change 

{
  Name = PTC_MASS_DENSITY
  Type = Real
  Default = 2.7 tonne/mm^3
  Access = Full
},

to

{
  Name = PTC_MASS_DENSITY
  Type = Real
  Default = 2.7 g/cm^3
  Access = Full
},

 

Alternatively you can add it to your model and then right click on it and go to properties and change it there. This will only change it in that model. If you want to save over the old file you can click save or file-> save as a copy and save it that way.

Hello @ssreevalsan

 

It looks like you have some responses from some community members. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Community Moderation Team.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags