Hello!

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

Change value field content to use imperial units

Last updated March 12, 2019 by Tekla User Assistance tekla.documentation@trimble.com

Software version: 
2019

Change value field content to use imperial units

Change value field content to use imperial units

Advanced option to check if imperial units are in use:

GetValue("ADVANCED_OPTION.XS_IMPERIAL")==TRUE

Translated string call for multi lingual text:

GetValue("TranslatedText("albl_Diameter_")")

Formatting of units:

format(GetValue("DIAMETER"),"Length","inch-frac", 1/16)

format(GetValue("DIAMETER"),"Length","mm", 1)

Combine all above in a rule:

if GetValue("ADVANCED_OPTION.XS_IMPERIAL")==TRUE then

GetValue("TranslatedText("albl_Diameter_")")+ format(GetValue("DIAMETER"),"Length","inch-frac", 1/16) + " Inches"

else

GetValue("TranslatedText("albl_Diameter_")")+ format(GetValue("DIAMETER"),"Length","mm", 1)+" mm"

endif

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: 
No votes yet