PDA

View Full Version : Pro Boolean Scripting Problems


dandymite
06-18-2008, 12:48 PM
Hi everybody,

I have a problem with scripting some ProBoolean functions and I hope someone can help me.
I use the

<void>SetOperandA <node>boolnode

method to set up the ProBoolean object.
The Problem is when I try to add operands as <instance> with the

<void>SetOperandB <node>boolnode <node>node <integer>addMethod <integer>matMethod

an set the addMethod parameter to 3 (instance) it doesnt work.
The method always sets the operand in <copy> mode. doesnt matter what addMethod parameter is set.
I have the same problems with CreateBooleanObject and CreateBooleanObjects

Box lengthsegs:1 widthsegs:1 heightsegs:1 length:50 width:50 height:50
GeoSphere pos:[-40.6548,-30.2664,0] isSelected:on radius:25
ProBoolean.SetOperandA $Box01
ProBoolean.SetOperandB $Box01 $GeoSphere01 3 0

When I execute the script, the Geosphere is not an instance, but I think it have to be because the 3rd parameter of the method is set to 3 <instance>

Please help me

Thanks in advance

CGTalk Moderation
06-18-2008, 12:48 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.