「Param:get-constraints」の版間の差分
|  (ページの作成:「{{BCAD_LISP_MECH}} ; 構文 : (mech:get-constraints ''idBlock''  [ ''createIfNotExist'' ])   ; 機能 : 指定されたidBlock(ename)BlockTableRecordに対する 3DCo…」) | 編集の要約なし | ||
| 1行目: | 1行目: | ||
| {{BCAD_LISP_MECH}} | {{BCAD_LISP_MECH}} | ||
| ; 構文 | ; 構文 | ||
| : (mech:get-constraints '' | : (mech:get-constraints ''constraintsGroup'') | ||
| ; 機能 | ; 機能 | ||
| :  | : constraintsGroup (integer)が transient group (dwgに保存されていない)かどうかを確認する。 | ||
| ; 引数 | ; 引数 | ||
| :*   | :*  constraintsGroup : (integer) トランジェントステータスを問い合わせるための制約グループ | ||
| ; 戻り値 | ; 戻り値 | ||
| :  | : 指定されたconstraintsGroup が transient オブジェクト(dwgファイル内で永続しない)であれば T、そうでなければNIL | ||
| 22行目: | 21行目: | ||
| (vl-load-mech) | (vl-load-mech) | ||
| 2 | 2 | ||
| (setq  | (setq res (mech:get-allconstraintsgroups)) | ||
| (2698242080 2698242176) | |||
| (setq grp ( | (setq grp (car res)) | ||
| 2698242080 | |||
| (mech:get-istransient grp) | |||
| nil | |||
| </pre> | </pre> | ||
2023年6月3日 (土) 08:24時点における版
BricsCAD Mechanical関数 Home - BricsCADのLISP - AutoLISP Home - CAD&CGブログ - オンラインショップ- GizmoTools ヘルプセンター
- 構文
- (mech:get-constraints constraintsGroup)
- 機能
- constraintsGroup (integer)が transient group (dwgに保存されていない)かどうかを確認する。
- 引数
- 
- constraintsGroup : (integer) トランジェントステータスを問い合わせるための制約グループ
 
- 戻り値
- 指定されたconstraintsGroup が transient オブジェクト(dwgファイル内で永続しない)であれば T、そうでなければNIL
- サンプル
(vl-load-mech) 2 (setq res (mech:get-allconstraintsgroups)) (2698242080 2698242176) (setq grp (car res)) 2698242080 (mech:get-istransient grp) nil
関連事項
