I'm trying to develop the macro for automatic bill of material generation.
I’ve been stuck at getting plate properties.
Thickness is ok. I'm using ".Property.GetPlateThickness"
But I can't find a way to get the density of plate material.
Surprisingly there is no command such as for beam ".Property.GetBeamMaterialName" or ".Property.GetBeamConstants"
Do you have any ideas?
Regards,
There is no function available to get the element property directly. But you can use the following functions to get the materiel density--
Property.GetElementMaterialName(pltn)
Property.GetMaterialProperty matname, elas, pois, dens, alpha, damp
Where the first function will extract the material name which has been assigned to the plate and the second function will extract the material property. I have used these functions and found that the material density value is extracted properly.
Answer Verified By: ST
Thank you Suro! It works now. For information: Property.GetElementMaterialName wasn't documented in the previous OpenStaad manuals (e.g. v8i series 4)