SIRemoveFromCluster

カテゴリ

クラスタ

詳細

クラスタからコンポーネント(ポイント、エッジ、ポリゴンなど)を削除します。

スクリプト構文

SIRemoveFromCluster( InputObj, SubComp );

パラメータ

パラメータ タイプ 詳細
InputObj 文字列 クラスタ オブジェクト
SubComp 文字列 クラスタから削除するコンポーネント

VBScript の例

'This example shows how to remove elements from a cluster
newscene
CreatePrim "Grid", "MeshSurface"
CreateCluster "grid.pnt[4,13,22,31,36-44,49,58,67,76]"
Translate , 0, 5, 0, siAbsolute, siParent, siObj, siY
'Cluster name can be changed.
SetValue "grid.polymsh.cls.Point.Name", "PlusShape"
'Remove points from cluster.
'Cluster is first and points to remove come after.
SIRemoveFromCluster "grid.polymsh.cls.PlusShape", "grid.pnt[40]"

関連項目

RemoveFromCluster SIAddToCluster