RemoveExposedPortPassThrough

導入

v7.0

カテゴリ

シミュレーション

説明

コンパウンドの公開されたポートから PassThroughNode を削除します。

スクリプト構文

RemoveExposedPortPassThrough( Port );

パラメータ

パラメータ タイプ 詳細
Port オブジェクト名(またはそのポインタ)。 [Pass Through]ノードを持つポート

Python の例

#
# 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")

関連項目

RemoveExposedParamFromICECompoundNode AddExposedParamToICECompoundNode EditExposedParamInICECompoundNode EditICECompoundPPGLogic EditICECompoundProperties GetICECompoundPortProperties GetICECompoundProperties