Pasar al contenido principal

Cambiar el contenido del campo de valor para usar unidades del sistema británico

Tekla Structures 2021
2021
Tekla Structures

Opción avanzada para verificar si las unidades del sistema británico están en uso:

GetValue("ADVANCED_OPTION.XS_IMPERIAL")==TRUE

Llamada de texto traducido para texto multilingüe:

GetValue("TranslatedText("albl_Diameter_")")

Formato de unidades:

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

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

Combinar todo lo anterior en una regla:

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

Enviar

Table of Contents