Hello!

Did you know that logged in users can see a lot more content?

Use text type attribute in calculations

Last updated September 10, 2018 by Tekla User Assistance tekla.documentation@trimble.com

Software version: 
2018i

Use text type attribute in calculations

Use text type attribute in calculations

Change text to numeric format

double(GetValue("ASSEMBLY_TOP_LEVEL"))

Change into correct format for calculation (double=decimals)

format(double(GetValue("ASSEMBLY_TOP_LEVEL")),"Length", "mm", 1)

Add all above into calculation formularule stated in a mathematical language

Formula is part of an equation.

format(double(GetValue("ASSEMBLY_TOP_LEVEL")),"Length", "mm", 1)+15000

Another example of the same for part elevation

(double(GetValue("TOP_LEVEL"))-(double(GetValue("BOTTOM_LEVEL"))))*1000

Quick feedback

The feedback you give here is not visible to other users. We use your comments to improve our content.
We use this to prevent automated spam submissions.
Content rating: 
Average page rating: 4 (1 vote)
Refresh page after voting to show updated result.