Formula for Imperial Scales
Not version-specific
Tekla Structures
Environment
United States (Imperial)
When using one of the Scale attributes in the Template Editor, in the Value field formula, use the formula below to have the scale of the view output in imperial.
if (GetValue("SCALE1") == "1:48") then
"1/4''=1'-0''"
else
if (GetValue("SCALE1") == "1:96") then
"1/8''=1'-0''"
else
if (GetValue("SCALE1") == "1:24") then
"1/2''=1'-0''"
else
if (GetValue("SCALE1") == "1:12") then
"1''=1'-0''"
else
if (GetValue("SCALE1") == "1:8") then
"1''1/2=1'-0"
else
if (GetValue("SCALE1") == "1:4") then
"3''=1'-0"
else
GetValue("SCALE1")
endif
endif
endif
endif
endif
endif
if (GetValue("SCALE1") == "1:48") then
"1/4''=1'-0''"
else
if (GetValue("SCALE1") == "1:96") then
"1/8''=1'-0''"
else
if (GetValue("SCALE1") == "1:24") then
"1/2''=1'-0''"
else
if (GetValue("SCALE1") == "1:12") then
"1''=1'-0''"
else
if (GetValue("SCALE1") == "1:8") then
"1''1/2=1'-0"
else
if (GetValue("SCALE1") == "1:4") then
"3''=1'-0"
else
GetValue("SCALE1")
endif
endif
endif
endif
endif
endif