VOLUME
This is a template attribute. Template attributes can be used in filtering, or to retrieve data from the model to use in drawings and reports. For example, when you create a report, Tekla Structures replaces the attributes added in the report template with the corresponding object property values.
This template attribute shows the object volume, for example, the volume of an assembly or of a cast unit. This attribute takes holes and cuts into account.
This attribute returns the value in cubic millimeters by default. You can easily change the unit in Template Editor'sValue Field Properties if you are simply using the GetValue function in a formula to get the volume. However, if you are using this attribute in a formula containing arithmetic operations, you have to format the weight and volume units by using the format and double functions together. This is because cubic millimeters are also used in calculations by default.
You can change the final unit in Value Field Properties if required.
Here is an example how the density can be calculated in kg per cubic meters:
double(format(GetValue("WEIGHT"),"Weight","kg", 3))
/
double(format(GetValue("VOLUME"),"Volume","m3", 3))
