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

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


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





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

構文
(mech:constraint-get-dimension 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 dimobj (mech:constraint-get-dimension constraint))
nil



関連事項