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

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{BCAD_LISP_BIM}} ; 構文 : (Bim:get-roomident ''roomEntity'' ) ; 機能 : roomEntity "で指定された BIM ルームのルーム識別文字列を返す。 ;…」)
 
(相違点なし)

2023年4月19日 (水) 08:08時点における最新版

構文
(Bim:get-roomident roomEntity )


機能
roomEntity "で指定された BIM ルームのルーム識別文字列を返す。


引数
  • roomEntity : roomEntity (bim::create-room) および (bim::create-associativeroom) または他のルーム関数が返す、既存のルーム (ename) のルームエンティティ。


戻り値
roomEntity "が有効なBIMルームである場合はルームID(文字列)、そうでない場合は nil
これは、各部屋に固有の、内部で作成され永続的な識別文字列である。


サンプル
(vl-load-bim)
(setq ent (car (entsel)))
(bim:get-guid ent)
"2EXY7m1YP67eEfWjG1GF6v" ; プロパティで確認できる内容と同じ

(bim:get-roomident ent)
"2EXY7m1YP67eEfWjG1GF6v" ; bim:get-guid と同じ値?

(bim:get-roomident roomEnt2x)
NIL


関連事項