v1.0
選択フィルタですべてのエレメントを選択します。
oReturn = SelectAllUsingFilter( [SelFilter], [CheckComponentVisibility], [AffectSelectionList], [CheckObjectSelectability] ); |
SelectFlag が False の場合、オブジェクトを含む XSICollection を戻します。
パラメータ | タイプ | 説明 | ||||||
---|---|---|---|---|---|---|---|---|
SelFilter | FilterConstant |
使用する選択フィルタ デフォルト値:現在選択されているフィルタ |
||||||
CheckComponentVisibility | siComponentVisibilityMode |
コマンドを表示コンポーネントのみに適用すべきかどうかを指定します。 デフォルト値: siIgnoreComponentVisibility
|
||||||
AffectSelectionList | Boolean |
オブジェクトを選択する場合は True、オブジェクトのリストを戻す場合は False デフォルト値: True |
||||||
CheckObjectSelectability | Boolean |
選択不可としてマーキングされたオブジェクトを選択するかどうかを指定します。 デフォルト値: False
|
' Selects all objects. Objects that are already selected remain selected. SelectAllUsingFilter "object" ' Select all lights. This deselect anything that is not a light. SelectAllUsingFilter "light" ' Select all points on active objects SelectAllUsingFilter "Point" |
' Create a sphere, hide some polygons, deselect all polygons, select all using filter ' result = only the visible polygons are selected NewScene CreatePrim "Sphere", "MeshSurface" ActivatePolygonSelTool SelectGeometryComponents "sphere.poly[0-20]" SITogglePolygonVisibility DeselectAll SelectAllUsingFilter, siCheckComponentVisibility |