Interface : BooleanObjectManager

NEW in 3ds Max 2017: This Core Interface exposes methods for managing Boolean3 objects. Note that the Boolean3 object itself provides a MixinInterface that exposes the same functionality.

   

Properties:

None.

   

Methods:

<bool>BooleanObjectManager.GetNumBooleanObjects <&integer>count
count is Out parameter

Gets the number of Boolean3 objects in the scene, and writes it into the by-reference argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.GetNumberOfOperands <index>index <&integer>count
count is Out parameter

Gets the number of operand in the indexed Boolean3 Object, and writes it into the by-reference second argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.GetOperandName <index>index <index>operandIndex <&TSTR>name
name is Out parameter

Gets the name of the indexed operand in the indexed Boolean3 Object, and writes it into the by-reference third argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.SetOperandName <index>index <index>operandIndex <&TSTR>name
name is In parameter

Sets the name of the indexed operand in the indexed Boolean3 Object to the string value supplied by the by-reference third argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.GetOperandType <index>index <index>operandIndex <&enum>type
type enums: {#system|#generated}
type is Out parameter

Gets the type of the indexed operand in the indexed Boolean3 Object, and writes it into the by-reference third argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.GetNumberOfChildren <index>index <index>operandIndex <&integer>children
children is Out parameter

Gets the number of children of the indexed operand in the indexed Boolean3 Object, and writes it into the by-reference third argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.GetOperationType <index>index <index>operandIndex <&enum>type
type enums: {#union|#intersection|#subtraction|#merge|#attach|#insert}
type is Out parameter

Gets the operation type of the indexed operand in the indexed Boolean3 Object, and writes the enum into the by-reference third argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.SetOperationType <index>index <index>operandIndex <enum>type
type enums: {#union|#intersection|#subtraction|#merge|#attach|#insert}

Sets the operation type of the indexed operand in the indexed Boolean3 Object to the enum value supplied by the third argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.GetOperationOptions <index>index <index>operandIndex <&enum>options
options enums: {#none|#imprint|#cookie}
options is Out parameter

Gets the operation option of the indexed operand in the indexed Boolean3 Object, and writes it into the by-reference third argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.SetOperationOptions <index>index <index>operandIndex <enum>options
options enums: {#none|#imprint|#cookie}

Sets the operation option of the indexed operand in the indexed Boolean3 Object to the enum value supplied by the third argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.GetSeamType <index>index <index>operandIndex <&enum>type
type enums: {#simple|#fillet}
type is Out parameter

Gets the seam type of the indexed operand in the indexed Boolean3 Object, and writes it into the by-reference third argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.SetSeamType <index>index <index>operandIndex <enum>type
type enums: {#simple|#fillet}

Sets the seam type of the indexed operand in the indexed Boolean3 Object to the enum value supplied by the third argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.GetSeamSize <index>index <index>operandIndex <time>time <&float>size <&interval>interval
size is Out parameter
interval is Out parameter

Gets the seam size of the indexed operand in the indexed Boolean3 Object in the interval specified by the fourth argument, and writes it into the by-reference third argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.SetSeamSize <index>index <index>operandIndex <time>time <float>size

Sets the seam size of the indexed operand in the indexed Boolean3 Object at the time specified by the third argument to the value supplied by the fourth argument.

   

<bool>BooleanObjectManager.GetSolo <index>index <index>operandIndex <&bool>solo
solo is Out parameter

Gets the Solo property of the indexed operand in the indexed Boolean3 Object, and writes it into the by-reference third argument as a boolean - True when solo, False when not.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.SetSolo <index>index <index>operandIndex <bool>solo

Sets the Solo property of the indexed operand in the indexed Boolean3 Object to the Boolean value supplied by the third argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.GetSoloOperandIndex <index>index <&index>operandIndex
operandIndex is Out parameter

Gets the index of the Solo operand in the indexed Boolean3 Object, and writes it into the by-reference second argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.GetDisable <index>index <index>operandIndex <&bool>disable
disable is Out parameter

Gets the disabled property of the indexed operand in the indexed Boolean3 Object, and writes it into the by-reference third argument - True when disabled, False when enabled.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.SetDisable <index>index <index>operandIndex <bool>disable

Sets the disabled property of the indexed operand in the indexed Boolean3 Object to the bool values supplied by the third argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.HasSubdivs <index>index <index>operandIndex <time>time <&bool>
subsub is Out parameter

Gets the existence of Subdivs in the indexed operand in the indexed Boolean3 Object, and writes the result into the by-reference third argument - True when the operand has Subdivs, False when it does not.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.GetSubdivs <index>index <index>operandIndex <time>time <&integer>subdivs <&interval>interval
subdivs is Out parameter
interval is Out parameter

Gets the Subdivs in the indexed operand in the indexed Boolean3 Object in the time interval given by the by-reference fourth argument, and writes the result into the by-reference third argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.SetSubdivs <index>index <index>operandIndex <time>time <integer>subdivs

Sets the Subdivs of the indexed operand in the indexed Boolean3 Object at the time given by the third argument, and writes the result into the by-reference fourth argument.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.RemoveOperand <index>index <index>operandIndex

Removes the indexed operand from the indexed Boolean3 Object.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.AppendOperand <index>index <node>boolNode <node>operandNode <bool>hold

Appends the node specified by the third argument to the operands list of the indexed Boolean3 Object.

The fourth argument controls the hold.

Returns True on success, False on failure.

   

<bool>BooleanObjectManager.InsertOperand <index>index <node>boolNode <node>operandNode <index>where <bool>hold

Inserts the node specified by the third argument into the operands list of the indexed Boolean3 Object.

The fourth argument controls the position to insert at.

The fifth argument controls the hold.

Returns True on success, False on failure.

   

Actions:

None.