v2.0
Substitutes an operator primitive input with another one of same type.
SubstituteOpInput( Reference, [New] ); |
Parameter | Type | Description |
---|---|---|
Reference | String | Old input object to substitute |
New | String |
New input object to replace the old input Default Value: If not specified, a pick session is launched. |
CreatePrim "Cone", "NurbsSurface" Translate , -2.272, -0.000, 1.166, siRelative, siView, siObj, siXYZ CreatePrim "Cylinder", "NurbsSurface" Translate , 2.427, 0.000, -1.865, siRelative, siView, siObj, siXYZ CreatePrim "Grid", "NurbsSurface" ApplyOp "SrfFillet", "cone;grid", 3, siPersistentOperation ' replace 'Cone' with 'Cylinder' as input to the surface fillet operator SubstituteOpInput "Cone", "Cylinder" |