移動先: 概要 戻り値 フラグ MEL の例
itemFilterType [-text string] [-type]
string
itemFilterType は「元に戻す」が可能、「照会」が可能、「編集」が可能です。
指定した項目フィルタ オブジェクトを照会するためのコマンドです。このオブジェクトは selectionConnection オブジェクトやエディタにアタッチして、これらのオブジェクトやエディタを通過する項目リストをフィルタすることができます。論理和(Union)や論理積(Intersection)フィルタを使用して、
複雑な合成フィルタを作成できます。
戻り値の型は照会モードでは照会フラグが基になります。
text, type
| ロング ネーム(ショート ネーム) |
引数型 |
プロパティ |
-type(-typ)
|
|
|
|
フィルタ オブジェクトのタイプを照会します。戻り値は、itemFilter、attributeFilter、renderFilter、または unknownFilter のいずれかになります。
|
|
-text(-t)
|
string
|

|
|
フィルタを使用して格納する注釈文字列を定義します。
|
|
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: 1 つのコマンドで複数回使用可能なフラグ
|
// Create a filter that will pass all spot lights and transforms.
//
string $filter = `itemFilter -byType transform -byType spotLight`;
// Now query the type of the filter.
//
string $type = `itemFilterType -query -type $filter`;
print ("Filter type: " + $type + "\n");
// Delete the filter.
//
delete $filter;