v7.0
Simulation
Removes the PassThroughNode node from the compound's exposed port.
RemoveExposedPortPassThrough( Port ); |
Parameter | Type | Description |
---|---|---|
Port | Object Name (or a pointer to it). | Port that has a passthrough node |
# # 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") |