CollapseOp
 
 
 

CollapseOp

Introduced

v3.0

Description

Collapses deformation operators on the construction history into one operator.

Note: This command uses output arguments. C# and some scripting languages (such as JScript, PerlScript and Python) don't support arguments passed by reference so you need to use the best workaround for your situation:

For scripting languages this command returns an ISIVTCollection which you can use to get the output arguments.

For C# you can use the XSIApplication.ExecuteCommand method to call this command. ExecuteCommand packs the output arguments into a C# System.Object containing an Array of the output arguments (see Calling Commands from C#).

Scripting Syntax

CollapseOp( [InputObjs], [Relative], [CollapseOperators] );

Parameters

Parameter Type Description
InputObjs String List of operators to collapse.

Default Value: Current selection.

Relative Boolean Specifies whether the resulting collapsed deformation should be evaluated relative to the surface referential.

Default Value: True

CollapseOperators XSICollection Returns a list of collapse operators created.