Skip to main content
8-Gravel
June 6, 2024
Question

material unit change

  • June 6, 2024
  • 3 replies
  • 1193 views

 

hi

how to change unit to g/cm3

 

ssreevalsan_1-1717659288622.png

 

3 replies

KenFarley
21-Topaz II
June 6, 2024

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.

Chris3
21-Topaz I
June 6, 2024

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.

Community Moderator
June 12, 2024

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.