RemoveExposedParamFromICECompoundNode

Introduced

v7.0

Categories

ICE

Description

Removes the exposed Parameter from the ICECompoundNode.

Scripting Syntax

RemoveExposedParamFromICECompoundNode( [Parameter], Compound );

Parameters

Parameter Type Description
Parameter String Parameter to remove.

Default Value: If not specified, the user is prompted to make a selection.

Compound String ICECompoundNode from which to remove the exposed parameter.

Examples

VBScript Example

'
' This example demonstrates how to use the RemoveExposedParamFromICECompoundNode command 
' by creating a compound with two exposed output ports and then removing one of them
'
NewScene , false
CreatePrim "Cone", "MeshSurface"
' Create a compound for demo purposes
ApplyOp "ICETree", "cone", siNode, , , 0
AddICENode "ScalarNode", "cone.polymsh.ICETree"
AddICECompoundNode "Pi", "cone.polymsh.ICETree"
CreateICECompoundNode "cone.polymsh.ICETree.Pi,cone.polymsh.ICETree.ScalarNode"
' Expose both the Scalar output and the Pi output
AddExposedParamToICECompoundNode "cone.polymsh.ICETree.CompoundNode.ScalarNode.result", _
        "cone.polymsh.ICETree.CompoundNode", , "Scalar Result"
AddExposedParamToICECompoundNode "cone.polymsh.ICETree.CompoundNode.Pi.Result", _
        "cone.polymsh.ICETree.CompoundNode", , "Pi Result"
' Now remove the Pi output port and hook it into the input of the Scalar
RemoveExposedParamFromICECompoundNode "cone.polymsh.ICETree.CompoundNode.Pi.Result", _
        "cone.polymsh.ICETree.CompoundNode"
ConnectICENodes "cone.polymsh.ICETree.CompoundNode.ScalarNode.value", _
        "cone.polymsh.ICETree.CompoundNode.Pi.Result"

See Also

AddAttributeToSetDataICENode AddICECompoundNode AddExposedParamToICECompoundNode AddICENode AddNodeToICECompoundNode CleanDisconnectedICENodes ConnectICENodes CreateICECompoundNode DisconnectICENodePort EditExposedParamInICECompoundNode EditICECompoundPPGLogic EditICECompoundProperties ExplodeICECompoundNode GetICECompoundPortProperties GetICECompoundProperties RemoveAttributeFromSetDataICENode RemoveNodeFromICECompoundNode