ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
defineDataServer [-device string] [-server string] [-undefine]
defineDataServer は、取り消し可能、照会不可能、および編集不可能です。
デバイス ハンドラにアタッチできる指定したデバイスを作成する、指定したデータのサーバ名に接続します。 デバイスが定義されると、そのデバイスはサーバのデータ軸情報を検索します。「CapChannels」は、スカラー チャネルの場合「channelName」.「listInputDeviceAxes」を参照してください。「usage」、複合チャネルの場合 「channelName」.「componente」 の書式で軸情報として示されます。軸の名前をリストするには、listInputDeviceAxes を参照してください。defineDataServer -d "myDevice" -s "myServer"を元に戻しても、やり直しできなくなるまで、データ サーバとの接続は解除されません。他の任意のコマンド(sphere など)を実行することによって、再実行ができなくなり、データ サーバとの接続が切断します。同様に、コマンド
defineDataServer -d "myDevice" -uは、元に戻せなくなるまでデータ サーバとの接続を解除しません。flushUndo が実行されるか、「defineDataServer」コマンドが元に戻す待ち行列の末尾から削除されると取り消しができなくなり、データ サーバとの接続が切断します。 戻り値はありません。
なし
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
-device(-d)
|
string
|
|
||
|
||||
-server(-s)
|
string
|
|
||
|
||||
-undefine(-u)
|
|
|
||
|
||||
defineDataServer -s "ultratrak_server" -d "melvin"; // Connects to the ultratrak_server running on the localhost and gives it // the name "melvin" defineDataServer -s "mocap_lab:5200" -d "labFlock"; // Creates a device called "labFlock" which connects to the server running // on host "mocap_lab" at port "5200". defineDataServer -undefine -d "labFlock"; // Delete the device "labFlock" closing the connection with the server // specified when it was created.