RemoveExposedParamFromICECompoundNode

導入

v7.0

カテゴリ

ICE

詳細

ICECompoundNode から外部公開されたパラメータを削除します。

スクリプト構文

RemoveExposedParamFromICECompoundNode( [Parameter], Compound );

パラメータ

パラメータ タイプ 詳細
パラメータ 文字列 削除するパラメータ

デフォルト値:指定されていない場合は、選択するよう求められます。

Compound 文字列 外部公開されたパラメータの削除元となるICECompoundNode

VBScript の例

'
' 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"

関連項目

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