RemoveExposedPortPassThrough

Introduced

v7.0

Categories

Simulation

Description

Removes the PassThroughNode node from the compound's exposed port.

Scripting Syntax

RemoveExposedPortPassThrough( Port );

Parameters

Parameter Type Description
Port Object Name (or a pointer to it). Port that has a passthrough node

Examples

Python Example

#
# This example demonstrates how to expose the output from 
# two Scalar nodes and then remove one of them.
#
app = Application
app.NewScene("", 0)
app.CreatePrim("Cone", "MeshSurface")
app.ApplyOp("ICETree", "cone", "siNode", "", "", 0)
app.AddICENode("ScalarNode", "cone.polymsh.ICETree")
app.AddICENode("ScalarNode", "cone.polymsh.ICETree")
app.CreateICECompoundNode("cone.polymsh.ICETree.ScalarNode[1],cone.polymsh.ICETree.ScalarNode")
app.AddExposedParamToICECompoundNode("cone.polymsh.ICETree.CompoundNode.ScalarNode.value", 
        "cone.polymsh.ICETree.CompoundNode")
app.AddExposedParamToICECompoundNode("cone.polymsh.ICETree.CompoundNode.ScalarNode[1].value", 
        "cone.polymsh.ICETree.CompoundNode", "cone.polymsh.ICETree.CompoundNode.Value")
app.RemoveExposedPortPassThrough("cone.polymsh.ICETree.CompoundNode.Value")

See Also

RemoveExposedParamFromICECompoundNode AddExposedParamToICECompoundNode EditExposedParamInICECompoundNode EditICECompoundPPGLogic EditICECompoundProperties GetICECompoundPortProperties GetICECompoundProperties