RenameShaderCompoundPort

Introduced

7.0

Description

Renames a shader compound port. You can pass either an internal or external input or output port on a compound. When the name already exists, the new port named is appended an index to make sure it is unique.

Scripting Syntax

RenameShaderCompoundPort( InputObj, Name, DisplayName )

Parameters

Parameter

Type

Description

InputObj

String

Shader Compound Port to Rename.

Name

String

New name for the shader compound port.

DisplayName

String

New diplay name for the shader compound port.

Return Value

Returns the new port name of the compound port as a String.

See Also

CreateShaderFromPreset

CreateShaderFromCLSID

CreateShaderFromProgID

CreateShaderCompound

NestShaders

UnnestShaders

AddShaderCompoundPort

RemoveShaderCompoundPort

MoveShaderCompoundPort

ExportShaderCompound

ImportShaderCompound

ExplodeShaderCompound

SetShaderCompoundProperties

GetShaderCompoundProperties

 

 



Autodesk Softimage v7.5