Macro using CurveBoolean... grrr


#1

I am trying to create a simple macro which will lock the result of a CurveBoolean. I have been spectacularly unsuccessful up to this point.

The problem is that as AFAICT, it requires 2 Pauses for starters plus EXACTLY one Pause per possible region pick inside CurveBoolean for the macro to continue correctly (otherwise it stops after the CB is complete). That basically means it’s impossible to macro… What am I missing? There must be some simple trick to make this work.

! _CurveBoolean _Pause _Pause _Pause _Lock works only for one pick

! _CurveBoolean _Pause _Pause _Pause _Pause _Pause _Lock works only for two picks

! _CurveBoolean _Pause _Pause _Pause _Pause _Pause _Lock works only for three picks, etc.

Certainly this type of stuff can be scripted but I’m trying to teach beginning students to create simple macros like this for themselves.

–Mitch

Edit: OK, I got it… This is soooo… Rhino 4. I really hoped this stuff had been fixed for V5…

! _CurveBoolean
_Pause _Pause _Pause _Pause 
_Pause _Pause _Pause _Pause
_Pause _Pause _Pause _Pause 
_Pause _Pause _Pause _Pause 
_Pause _Pause _Pause _Pause 
_Pause _Pause _Pause _Pause 
_Pause _Pause _Pause _Pause 
_Pause _Pause _Pause _Pause 
_Pause _Pause _Pause _Pause 
_Pause _Pause _Pause _Pause 
_Pause _Pause _Pause _Pause 
_Enter _Sellast _Lock

Macro help
(Pascal Golay) #2

Yeah, I wonder if a single Pause can handle all region selection as it does for object selection in other commands. I will ask… thanks. Not sure where all those pauses are going anyway- it looks like at least one is being eaten with a pre-selection.

-Pascal