Showing results for 
Search instead for 
Do you mean 
Reply

Extracting Material density from the assigned material

Hi ,

 

How can I extract the material density from the assignend material.

2 REPLIES

Re: Extracting Material density from the assigned material

You need to get the PropertyTable from the material, then query the Density property.

 

See this sample code in the Solution Center:

 

https://solutions.industrysoftware.automation.siemens.com/view.php?sort=desc&q=material+density&dt=n...

Re: Extracting Material density from the assigned material

Do you have a reference to a body with the assigned material? If so, you can use the {body}.Density property to get the density of the body in kg/m^3. If desired, you can use NX functions to convert the value to a different unit system.