「Mech:constraint-get-isdimensional」の版間の差分

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{BCAD_LISP_MECH}} ; 構文 : (mech:constraint-get-isdimensional ''constraint'' ) ; 機能 : 指定された拘束がディメンショナルであるかどうかを返す。 ; 引数 :* constraint : 問い合わせる拘束の整数値 ; 戻り値 : ディメンショナルであれば T、それ以外は NIL ;サンプル <pre class="brush:autolisp;"> (vl-load-mech) 2 (setq blkId (tblobjname "BLOCK" "*Model_Space")) <Entity name: a44cefc0> (setq grp (mech…」)
 
(相違点なし)

2023年6月6日 (火) 08:26時点における最新版

構文
(mech:constraint-get-isdimensional constraint )


機能
指定された拘束がディメンショナルであるかどうかを返す。


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


戻り値
ディメンショナルであれば T、それ以外は NIL


サンプル
(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 isDim (mech:constraint-get-isdimensional constraint))
nil
(setq dimobj (mech:constraint-get-dimension constraint))
nil



関連事項