AndyC
10th Nov 2010, 05:45 pm
Can anyone see what the difference is betwen the following two macros.
The first one works and allows me to first insert an incremental number and then a block.
The second, where i have swaped the order around and have tryed to insert the block first does not work. It allows me to insert the block and end simply ends and does not attempt to insert the incremental number.
MACRO 1
^c^c-layer;m;"LB-T007-SET-OUT";c;WHITE;;l;continuous;;;-insert;"LB-setting-out-point";sc;"~";;;;$M=$(+,$(getvar,USERR1),$(getvar,USERR2));setv ar;USERR1;$M=$(+,$(getvar,USERR1),$(getvar,USERR2) );-insert;"LB-setting-out-point";sc;"~";;
MACRO 2
^c^clayer;m;"LB-T007-SET-OUT";c;WHITE;;l;continuous;;;_text;\;;$M=$(+,$(getvar, USERR1),$(getvar,USERR2));setvar;USERR1;$M=$(+,$(g etvar,USERR1),$(getvar,USERR2));-insert;"LB-setting-out-point";sc;"~";;
The first one works and allows me to first insert an incremental number and then a block.
The second, where i have swaped the order around and have tryed to insert the block first does not work. It allows me to insert the block and end simply ends and does not attempt to insert the incremental number.
MACRO 1
^c^c-layer;m;"LB-T007-SET-OUT";c;WHITE;;l;continuous;;;-insert;"LB-setting-out-point";sc;"~";;;;$M=$(+,$(getvar,USERR1),$(getvar,USERR2));setv ar;USERR1;$M=$(+,$(getvar,USERR1),$(getvar,USERR2) );-insert;"LB-setting-out-point";sc;"~";;
MACRO 2
^c^clayer;m;"LB-T007-SET-OUT";c;WHITE;;l;continuous;;;_text;\;;$M=$(+,$(getvar, USERR1),$(getvar,USERR2));setvar;USERR1;$M=$(+,$(g etvar,USERR1),$(getvar,USERR2));-insert;"LB-setting-out-point";sc;"~";;