Mech:constraint-get-measurement

提供:GizmoLabs - だいたい CAD LISP なサイト
構文
(mech:constraint-get-measurement constraint argIndex)


機能
指定された拘束の測定モードを返す。


引数
  • constraint : 問い合わせる拘束の整数値
  • argIndex : 第1定義体=0、または第2定義体=1


戻り値
3D拘束定数 MesurementMode値の整数、または 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 measure (mech:constraint-get-measurement constraint 0))
nil



関連事項