「Bim:get-spacerepresentation」の版間の差分

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{BCAD_LISP_BIM}} ; 構文 : (Bim:get-spacerepresentation ''entity'') ; 機能 : 指定された BIM「空間」エンティティの空間表現モードを取得す…」)
 
(相違点なし)

2023年3月20日 (月) 18:01時点における最新版

構文
(Bim:get-spacerepresentation entity)


機能
指定された BIM「空間」エンティティの空間表現モードを取得する。


引数
  • entity : 表現モードを設定する任意のエンティティ(通常のエンティティまたはVLAオブジェクト名)(それがBIM「空間」エンティティである場合)。


戻り値
entity の空間表現モードの定数値、BIM Space出ない場合は nil


memo:


サンプル
(vl-load-bim)
(setq ent (car (entsel))) 
(bim:set-spacerepresentation ent 0) ; = bcBimSpaceStyleSolid 
T
(bim:set-spacerepresentation ent  bcBimSpaceStyleFootprint) ; = 1
T

(bim:get-spacerepresentation ent) 
1

関連事項