SubstituteOpInput

Introduced

2.0

Description

Substitutes an operator primitive input with another one of same type.

Scripting Syntax

SubstituteOpInput( Reference, [New] )

Parameters

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.

Examples

VBScript Example

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"


Autodesk Softimage v7.5