Skip to content

get_handle_tupleGetHandleTupleGetHandleTupleget_handle_tupleT_get_handle_tuple🔗

説明🔗

get_handle_tupleGetHandleTupleGetHandleTupleget_handle_tupleT_get_handle_tuple — キーに関連付けられたTupleをハンドルから取得する。

書式🔗

get_handle_tuple( handle Handle, string Key, out tuple Tuple )void GetHandleTuple( const HTuple& Handle, const HTuple& Key, HTuple* Tuple )static void HOperatorSet.GetHandleTuple( HTuple handle, HTuple key, out HTuple tuple )def get_handle_tuple( handle: HHandle, key: Union[str, int] ) -> Sequence[Union[int, float, str]]

def get_handle_tuple_s( handle: HHandle, key: Union[str, int] ) -> Union[int, float, str]Herror T_get_handle_tuple( const Htuple Handle, const Htuple Key, Htuple* Tuple )

説明🔗

get_handle_tupleGetHandleTupleはKeykeykey に関連付けられたTupleをHandlehandlehandle から取得し、 Tupletupletupleへ返します。 ハンドルでサポートされているキーのリストは、get_handle_paramGetHandleParamで照会できます。

このオペレータは、一般的なデバッグと検査のメカニズムを実装するためにのみ提供されている ことに注意してください。 特定のハンドルタイプに対して返されるキーは通知なしに変更される可能性があります。 さらに、オペレータでは一部のハンドルタイプがサポートされていない場合があります。 また、このオペレータはパフォーマンスの最適化はされていません。 プログラム内のハンドルに関するより信頼性の高い情報を得るためには、 get_object_model_3d_paramsGetObjectModel3dParamsやget_generic_shape_model_paramGetGenericShapeModelParam等の特定の ハンドルタイプに特化したオペレータを使うことを強く推奨します。

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • 並列演算処理には未対応

パラメーター🔗

Handlehandlehandle (input_control) handle → (handle)HTuple (HHandle)HHandle, HTuple (IntPtr)HHandleHtuple (handle)

キーを取得するハンドル

Keykeykey (input_control) string → (string / integer)HTuple (HString / Hlong)HTuple (string / int / long)Union[str, int]Htuple (char* / Hlong)

取得するキー

要素数: Key == 1
制限: length(Key) > 0

Tupletupletuple (output_control) tuple(-array) → (string / integer / real)HTuple (HString / Hlong / double)HTuple (string / int / long / double)Sequence[Union[int, float, str]]Htuple (char* / Hlong / double)

キーの制御値

結果🔗

パラメータが有効な場合、オペレータget_handle_tupleGetHandleTupleは2 (H_MSG_TRUE)を返します。 ハンドルが無効な場合や指定されたキーをサポートしていない場合、または キーがTupleの代わりにアイコンオブジェクトを参照すると、例外が発生します。

他のオペレーターとの組み合わせ🔗

組み合わせ

前処理の候補

get_handle_paramGetHandleParam

他の選択候補

get_handle_objectGetHandleObject

関連項目

get_handle_paramGetHandleParam, get_handle_objectGetHandleObject

モジュール🔗

Foundation