PDA

View Full Version : Conditional expression


trailway
09-30-2009, 04:00 PM
I have a newbie question.

I added a trivial step, not in a group, which has a script which simply prints a string when run. I then added a conditional build rule that the step should only execute when a certain global macro is true. I cannot get to seem to get this to work, i.e. it executes not matter what.

If I enclose the step inside a Group and put the conditional rule on the group then it behaves as I thought that it would, i.e. if the global macro is not true then it does not execute.

What am I missing?

kinook
09-30-2009, 04:22 PM
Not sure.
http://www.kinook.com/Forum/showthread.php?threadid=3044

trailway
10-01-2009, 06:33 AM
The heart problem is confusion on my part. I did not understand that Rebuild Selected ignored conditionals.

I think that what I am going to have to do is to code the conditional logic within the step itself.

kinook
10-01-2009, 07:52 AM
http://www.kinook.com/VisBuildPro/Manual/methodsofbuilding.htm