Skip to content

get_handle_paramGetHandleParamGetHandleParamget_handle_paramT_get_handle_param🔗

説明🔗

get_handle_paramGetHandleParamGetHandleParamget_handle_paramT_get_handle_param — ハンドルについての情報を返します。

書式🔗

get_handle_param( handle Handle, string GenParamName, string Key, out tuple GenParamValue )void GetHandleParam( const HTuple& Handle, const HTuple& GenParamName, const HTuple& Key, HTuple* GenParamValue )static void HOperatorSet.GetHandleParam( HTuple handle, HTuple genParamName, HTuple key, out HTuple genParamValue )def get_handle_param( handle: HHandle, gen_param_name: str, key: MaybeSequence[str] ) -> Sequence[Union[int, float, str]]

def get_handle_param_s( handle: HHandle, gen_param_name: str, key: MaybeSequence[str] ) -> Union[int, float, str]Herror T_get_handle_param( const Htuple Handle, const Htuple GenParamName, const Htuple Key, Htuple* GenParamValue )

説明🔗

get_handle_paramGetHandleParam はGenParamValuegenParamValuegen_param_valueのHandlehandlehandleの詳細を返します。 get_handle_tupleGetHandleTupleとget_handle_objectGetHandleObjectを使用して後で 照会することができるハンドルのキーを返すことによって、あらゆるタイプのハンドルを 検査およびデバッグする汎用メカニズムを提供します。

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

GenParamNamegenParamNamegen_param_nameの値により、照会出来る値は次のようになります。:

実行情報🔗

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

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

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

パラメーター🔗

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

パラメータを取得するハンドル

GenParamNamegenParamNamegen_param_name (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

取得するパラメータ

初期値: 'keys'"keys"
値のリスト: 'key_data_type', 'keys'"key_data_type", "keys"

Keykeykey (input_control) string(-array) → (string)HTuple (HString)HTuple (string)MaybeSequence[str]Htuple (char*)

オプションキー

初期値: [][]

GenParamValuegenParamValuegen_param_value (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_paramGetHandleParamは2 (H_MSG_TRUE)を返します。 そうでない場合は例外が発生します。

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

組み合わせ

後処理の候補

clear_handleClearHandle, get_handle_tupleGetHandleTuple, get_handle_objectGetHandleObject

関連項目

get_handle_tupleGetHandleTuple, get_handle_objectGetHandleObject

モジュール🔗

Foundation