v2.0
Adds a primitive to an existing operator.
AddInputToOperator( Reference, [New] ); |
Parameter | Type | Description |
---|---|---|
Reference | Object | Either the operator (in which case the new input will inserted after the first one) or an existing input primitive (in which case the new input will be inserted after). |
New | Object |
New input to add to an existing operator Default Value: If not specified, a pick session is launched. |
CreatePrim "Arc", "NurbsCurve", "MyArc1" CreatePrim "Arc", "NurbsCurve", "MyArc2" Translate , 0, 0, 2 ApplyOp "Loft", "MyArc1,MyArc2", 3, siPersistentOperation ' connect 'MyArc3' to the new loft operator between 'MyArc1' and 'MyArc2' CreatePrim "Arc", "NurbsCurve", "MyArc3" Translate , 0, -1, 1 AddInputToOperator "MyArc1", "MyArc3" |