Sim, tem que ter o then:
if classof i == FIXED then (
Outra coisa, vc tem que setar os parametros com = assim:
i.height = 60 / 2.54
Quando usa \"=\" vc define um parametro, quando usa \"==\" está querendo dizer \"é igual a\".
Ah, vc pode primeiro testar o código separado, depois coloca ele dentro do macroscript, eu tava testando assim e funcionou só rodando esse código:
for i in selection do (
if classof i == FIXED then (
i.height = 60 / 2.54
i.width = 80 / 2.54
i.depth = 15 / 2.54
i.Horizontal_Frame_Width = 1.5 / 2.54
i.Vertical_Frame_Width = 1.5 / 2.54
i.Frame_Thickness = 6.2 / 2.54
i.Glazing_Thickness = 0.5 / 2.54
i.Rail_Width = 1.0 / 2.54
i.Generate_Mapping_Coords = TRUE
i.Number_of_Panels_Horizontally = 1
i.Number_of_Panels_Vertically = 1
i.realWorldMapSize = true
)
else messagebox \"Selecione WINDOW FIXED\"
)