Use this forum to ask questions about how to do things in CAM Expert.

Moderator: andrew


Postby carlhelquist » Wed Sep 16, 2009 10:06 pm

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

in [Code]
{<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
Junior Member
Posts: 15
Joined: Wed Dec 03, 2008 7:12 pm

Return to CAM Expert 'How Do I' Questions

Who is online

Users browsing this forum: No registered users and 1 guest