Hello guys,
I am trying to script a creation of a box and have a problem with the *createnode command:
Scipt:
#Nodes
*deletemodel
*answer yes
variable width 100
variable height 100
variable depth 100
variable x1 0
variable y1 0
variable z1 0
*createnode $x1 $y1 $z1 0 0 0
*createnode $x1+$width $y1 $z1 0 0 0
*createnode $x1+$width $y1+$depth $z1 0 0 0
*createnode $x1 $y1+$depth $z1 0 0 0
*createnode $x1 $y1 $z1+$height 0 0 0
*createnode $x1+$width $y1+$depth $z1+$height 0 0 0
*createnode $x1+$width $y1+$depth $z1+$height 0 0 0
*createnode $x1 $y1+$depth $z1+$height 0 0 0
the addition is not working, brackets {} as well as eval, return or somthing else does not work. HW just creates 0 0 0 nodes.
Any ideas?
Thanks in advance.
Merula