SelectGeometryComponents

導入

v1.0

カテゴリ

選択

詳細

ジオメトリ コンポーネント(ポイント、ポリゴン、エッジなど)を選択します。

スクリプト構文

SelectGeometryComponents( SelectionList );

パラメータ

パラメータ タイプ 詳細
SelectionList 文字列 選択するコンポーネントのリスト

VBScript の例

' The following creates two meshes, translate them apart, then uses SelectGeometryComponents
' to select some points on one and select some polygons on the other
NewScene
CreatePrim "Cone", "MeshSurface"
CreatePrim "Cylinder", "MeshSurface"
Translate , 6.53800806588704, 0.470281530755438, -4.70281530755438E-02, _
                siRelative, siView, siObj, siXYZ
SelectGeometryComponents "cone.pnt[14,17],cylinder.poly[2,6]"
logMessage "points 14 and 17 should now be selected (red) on the cone"
logMessage "polygons 2 and 6 should now be selected (red) on the cylinder"