Arch BuildingPart

Description
The BuildingPart replaces the old Arch Floor and Arch Building with a more capable version that can be used not only to create Floor/Storey/Levels but also all kinds of situations where different Arch/BIM objects need to be grouped and that group might need to be handled as one object or replicated.

Usage

 * 1) Optionally, select one or more objects to be included in your new Building Part.
 * 2) Press the  button.

Options

 * After creating a BuildingPart, you can add more objects to it by dragging and dropping them in the Tree View or by using the tool.
 * You can remove objects from a BuildingPart by dragging and dropping them out of the Tree View or by using the tool.
 * By double-clicking the BuildingPart object in the tree view, the Working Plane will be set to its location, and the BuildingPart will become active, which means that new objects will be added automatically to it. Double-clicking the BuildingPart again will deactivate it and set the working plane back to its previous position (in version 0.19, to be available this option needs to be set up as true, in View Property panel - Interaction - Double Click Activates).
 * The BuildingPart can display a mark in the 3D view with a label and level indication.
 * When a BuildingPart is moved/rotated, all its children that either have no property, or have it turned on, will move/rotate together.
 * Building Parts can be Draft Cloned.
 * Building Parts can take any IFC type. Its IFC Type property determines its use. If you set it to Building Storey it will behave as a level. If you set it to Building it behaves as a building, and if you set it to Element Assembly it behaves as an assembly. Its icon will change to reflect this setting, but other than that it has no other impact in FreeCAD. However, being exported to IFC as one or another type can have an impact in other BIM applications.
 * Building Parts allow to define an Auto-group capture box. Subsequent Draft and Arch objects, or anything else that uses Draft.autogroup, will be automatically added to that Building Part if they are fully inside the capture box.

Data

 * : The height of this object, and of its children objects. The children objects could be, for example, Arch Walls. Each wall's height must be set to (zero), so the height property of the BuildingPart propagates to the objects inside of it.
 * : The level of the (0,0,0) point of this level. This value is added to the attribute of the BuildingPart, to indicate a vertical offset without actually moving the object. The resulting offset is displayed if  is.
 * : The computed floor area of this floor
 * : The IFC type of this object
 * : An optional description for this component
 * : An optional tag for this component
 * : Custom IFC properties and attributes

View

 * : The line width of this object
 * : An optional unit to express levels
 * : A transformation to apply to the level mark
 * : If true, show the level
 * : If true, show the unit on the level tag
 * : If true, when activated, the working plane will automatically adapt to this Building Part
 * : If true, when activated, Display offset will affect the origin mark too
 * : If true, when activated, the object's label is displayed
 * : The font to be used for texts
 * : The font size of texts
 * : If set, the view stored in this object will be restored on double-click
 * : The individual face colors


 * : If set, the settings below will affect the children of this Building Part
 * : The line width to apply to the children of this Building Part
 * : The line color to apply to the children of this Building Part
 * : The shape color to apply to the children of this Building Part
 * : The transparency to apply to the children of this Building Part


 * : The capture box for newly created objects expressed as [XMin,YMin,ZMin,XMax,YMax,ZMax]
 * : Turns auto grouping (and the display of the capture box) on/off
 * : Automatically set the capture box size from the Building Part contents
 * : A margin to use when autosize is turned on

Scripting
Arch API and FreeCAD Scripting Basics.

The BuildingPart tool can be used in macros and from the Python console by using the following function:


 * Creates a object from, which is a list of objects.

Example: