TEKLA TEMPLATES - Give a text form a Text depending the drawing UDA

This formula give a text form a Text depending the drawing UDA


TEXTO ESPECIFICO PELO NUMERO DE DESENHO
Esta formula copia o campo "SEC" dos UDAS do desenho e se for igual aos texto "x" e copia o value field "y"
(*)"SEC" = sector definido no object.inp - drawing UDA Content type: DRAWING

if (CopyField("SEC") == "ARN00") then CopyField("arn1") 
else
if (CopyField("SEC") == "HIP10") then CopyField("hip1") 
else
if (CopyField("SEC") == "HIP12") then CopyField("hip4") 
else ""
endif 
endif

Comentários

Mensagens populares