Arch Building: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
m (code)
Line 25: Line 25:
The Building tool can by used in [[macros]] and from the python console by using the following function:
The Building tool can by used in [[macros]] and from the python console by using the following function:
</translate>
</translate>
{{Code|code=
<syntaxhighlight>
makeBuilding ([objectslist])
makeBuilding ([objectslist])
}}
</syntaxhighlight>
<translate>
<translate>
<!--T:10-->
<!--T:10-->
Line 35: Line 35:
Example:
Example:
</translate>
</translate>
{{Code|code=
<syntaxhighlight>
import Arch
import Arch
Arch.makeBuilding()
Arch.makeBuilding()
}}
</syntaxhighlight>


<languages/>
<languages/>

Revision as of 12:52, 30 December 2014

Arch Building

Menu location
Arch -> Building
Workbenches
Arch
Default shortcut
B U
Introduced in version
-
See also
Arch Floor, Arch Site

Description

The Arch Building is a special type of FreeCAD group object particularly suited for representing a whole building unit. They are mostly used to organize your model, by containing floor objects.

How to use

  1. Optionally, select one or more objects to be included in your new building
  2. Press the Arch Building button, or press the B then U keys

Options

  • 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

Scripting

The Building tool can by used in macros and from the python console by using the following function:

makeBuilding ([objectslist])

creates a building including the objects from the given list.

Example:

import Arch
Arch.makeBuilding()