Mech:constraint-get-parameter

提供:GizmoLabs - だいたい CAD LISP なサイト
2023年6月9日 (金) 08:07時点におけるGizmon (トーク | 投稿記録)による版 (ページの作成:「{{BCAD_LISP_MECH}} ; 構文 : (mech:constraint-get-parameter ''constraint'' ) ; 機能 : 指定された拘束のパラメータを返す。 ; 引数 :* constraint : 問い合わせる拘束の整数値 ; 戻り値 : パラメータ変数識別子の整数、または nil Memo パラメータ変数識別子については、パラメータ関数を参照。 ;サンプル <pre class="brush:autoli…」)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
構文
(mech:constraint-get-parameter constraint )


機能
指定された拘束のパラメータを返す。


引数
  • constraint : 問い合わせる拘束の整数値


戻り値
パラメータ変数識別子の整数、または nil


Memo パラメータ変数識別子については、パラメータ関数を参照。


サンプル
(vl-load-mech)
2
(setq blkId (tblobjname "BLOCK" "*Model_Space"))
<Entity name: a44cefc0>
(setq grp (mech:get-constraintsgroup blkId))
2684693328
(setq constraints (mech:get-constraints grp))
(2684692368)
(setq constraint (nth 0 constraints))
2684692368
(setq param (mech:constraint-get-parameter constraint))
2685512960



関連事項