Arch Building/建物
概要
このコマンドを使うと選択されているオブジェクトの編集モードの有効/無効を切り替えることができます。 このコマンドが動作するにはオブジェクトが選択されているか(編集モードを有効にする場合)、編集モードになっているか(編集モードを無効にする場合)どちらかである必要があります。
使用方法
編集モードが有効になった場合の動作はオブジェクトの型によって変わります。 一部のオブジェクト型では編集モード時の動作が定義されていません。その場合は標準の動作(変形ウィジット)が使用されます。
ツリービューにあるオブジェクトをダブルクリックすることでも同じ動作を行うことができます。
Options
- Starting from FreeCAD version 0.18, the Building object is actually a BuildingPart with its IFC role property set to "Building". You can convert any BuildingPart to a Building simply by changing its IFC role.
- After creating a building, you can add more objects to it by drag and dropping them in the Tree View or by using the Arch Add tool
- You can remove objects from a building by drag and dropping them out of it the Tree View or by using the Arch Remove tool
Properties
- データBuilding Type: The type of this building, to choose from a list
スクリプト処理
以下では特定のオブジェクトの編集モードを有効にしています:
FreeCADGui.ActiveDocument.setEdit("myObjectName",0)
以下では編集モードを終了しています:
FreeCADGui.ActiveDocument.resetEdit()
makeBuilding ([objectslist])
creates a building including the objects from the given list.
Example:
import Arch
Arch.makeBuilding()