CompareNode

Associated Parameters: CompareNode

Introduced

7.0

UI Location

• Math > Comparison

Description

Evaluates two input values according to the logical operation specified by the Type parameter and outputs the result as a boolean value.

Parameters

Parameter Name | Scripting Name | Type | Description
Type | type | Integer | Comparison Type done by the operator Possible Values: • 0: Equal To • 1: Not Equal To • 2: Less Than • 3: Less Than or Equal To • 4: Greater Than • 5: Greater Than or Equal To
Epsilon | epsilon | Double | Epsilon used during the compare operation

Port Description

Inputs

Group ID | Instance s | Port Name | Connection Info | Description
0 | 1 | first | • Type: siICENodeDataBool or siICENodeDataArithmeticSupport • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The first value to be compared with the second specified input value.
second | • Type: siICENodeDataBool or siICENodeDataArithmeticSupport • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The second value to be compared with the first specified input value.

Outputs

Port Name | Connection Info | Description
result | • Type: siICENodeDataBool • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The resulting boolean value.

Restrictions

• These types must match: first, second

• These structures must match: first, second, result

• These contexts must match: first, second, result

See Also

MinimumNode | MaximumNode

Autodesk Softimage v7.5