「Mech:get-componentparameterexpr」の版間の差分

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{BCAD_LISP_MECH}} ; 構文 : (Mech:get-componentparameterexpr ''idBlockRef'' ''paramName'' ) ; 機能 : 拘束条件付き idBlockRef BlockReference エンティティ(ename)のパラメータ paramName(string)の文字列表現を返す。 ; 引数 :* idBlockRef : 問い合わせるBlockReferenceエンティティの ename :* paramName : 「パラメータ式」に対して問い合わせるパラメータ名。 ; 戻り値 : パラメータ式…」)
 
(相違点なし)

2023年6月10日 (土) 11:40時点における最新版

構文
(Mech:get-componentparameterexpr idBlockRef paramName )


機能
拘束条件付き idBlockRef BlockReference エンティティ(ename)のパラメータ paramName(string)の文字列表現を返す。


引数
  • idBlockRef : 問い合わせるBlockReferenceエンティティの ename
  • paramName : 「パラメータ式」に対して問い合わせるパラメータ名。


戻り値
パラメータ式の文字列、または nil



サンプル
(vl-load-mech)
2
(setq ent (car (entsel)))
<Entity name: a411e960>
(setq res (mech:get-componentparameterexpr ent "Size"))
".375-24 UNF"



関連事項