Grazie mille, allora cerchero di utilizzare il trave in altro modo. Effettivamente è una cosa poco sensata, mi scusi.
Invece l'errore "usare un tipo reale può causare problemi di precisione" come posso risolverlo? (immagine allegata)
in pratica ho dei pannelli ed in base alla loro altezza vorrei che il retino sia di colore diverso, ma purtroppo mi da quell'errore.
questo è lo script:
FILL fillAttribute_1_mur
PEN penAttribute_3_mur
altezza = ZZYZX
if altezza = 2.800 then
sfondo_retino = fillTypeAttribute_1
altezza = 2.900 then
sfondo_retino = fillTypeAttribute_2
if altezza = 3.500 then
sfondo_retino = fillTypeAttribute_3
if altezza = 3.850 then
sfondo_retino = fillTypeAttribute_4
if altezza = 3.950 then
sfondo_retino = fillTypeAttribute_5
if altezza = 4.000 then
sfondo_retino = fillTypeAttribute_6
if altezza = 4.850 then
sfondo_retino = fillTypeAttribute_7
if altezza = 5.000 then
sfondo_retino = fillTypeAttribute_8
if altezza <> 2.800 and 2.900 and 3.500 and 3.850 and 3.950 and 4.000 and 4.850 and 5.000
sfondo_retino = fillTypeAttribute_9
endif
POLY2_B 5, 3,
penAttribute_1_mur, sfondo_retino,
0.00, 0.00, 1,
0.00, B, 1,
A, B, 1,
A, 0.00, 1,
0.00, 0.00, 1
Con questa veramente chiudo.
Grazie mille e mi scuso di nuovo.