Page 1 of 1


Posted: Wed Sep 16, 2009 10:06 pm
by carlhelquist
I am trying to have a tool change at the start of each layer only if a layer parameter is set to yes.

Here are the lines I added:

in [LayerParameter]
LayerParameter fixed $T Tool_Change? Yes No
LayerParameter free $t 1 2 3 4 5 6 7 8


Code: Select all

  {<NewLine>t$t m6
    <NewLine>g43 h$t}

  {<if:$l=Yes><UpdateLayer><NewLine><NewLine>(Layer: $_)

My problem seems to be that once the <if:> statement runs, the variable is stuck on the value it had when first checked. All subsequent layers are stuck with that value. Other layer parameters that I have added seem to change by layer as long as I don't use them in an <if:>.

Any ideas on what I am missing?


Carl Helquist

using camexpert- on Ubuntu 8.04