選択ツールアイコンをダブルクリックし、以下のカメラベース選択にチェックを付けます。
//MEL:カメラベース選択、ドラッグ選択のオン、オフのウインドウを作成
window -width 200 -height 20 -title "カメラベース選択" -rtf 1;
columnLayout -adjustableColumn true;
gridLayout -numberOfColumns 2 -cellWidth 125 -cellHeight 20;
//checkBox -label "名前" -onCommand "チェックオン時のコマンド・スクリプト" -offCommand "チェックオフ時のコマンド・スクリプト"
checkBox -label "カメラベース選択" -onCommand "selectPref -useDepth true;" -offCommand "selectPref -useDepth false;";
checkBox -label "ドラッグ選択" -onCommand "selectPref -paintSelect 1;" -offCommand "selectPref -paintSelect 0;";
setParent..;
showWindow;