Mech:parameters-get-unitstype

提供:GizmoLabs - だいたい CAD LISP なサイト
構文
(mech:parameters-get-unitstype parameter )


機能
指定されたパラメータ(整数)の単位unitsTypeを取得する。


引数
  • parameter : 問い合わせるパラメータ識別子の整数


戻り値
成功ならT、それ以外は nil


サンプル
(vl-load-mech)
2
(setq blkId (tblobjname "BLOCK" "*Model_Space"))
<Entity name: 4aaa68b0>
(setq param (mech:parameters-get-byname blkId "Length"))
971708080
(mech:parameters-set-unitstype param bc3dcUnitLength)
T
(meters-get-unitstype param)
1



関連事項