Applies To
ApplyOp command
Description
This example demonstrates how to use the ApplyOp command.
Code
/* Example showing how to retrieve the newly created operator when ApplyOp is called on a single object */ // Create primitive oCube = activesceneroot.addgeometry( "Cube", "MeshSurface" ); // Call command to apply a Taper deformer and // retrieve the newly created operator oColl = ApplyOp( "Taper", oCube, 3, 0, null, 0 ) ; // Because there is only 1 input object (oCube) // we know there is only one operator created var oOp = oColl(0); // Modify the Amplitude Parameter oOp.ampl = 0.25 ;
Related Examples
Keywords
ApplyOp
Autodesk Softimage 2011