Arch IfcSpreadsheet: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 2: Line 2:
<translate>
<translate>
<!--T:3-->
<!--T:3-->
{{Docnav
{{docnav|[[Arch_3Views|3 Views from mesh]]|[[Arch_ToggleSubs|Toggle Subcomponents]]|[[Arch_Module|Arch]]|IconL=Arch_3Views.svg |IconC=Workbench_Arch.svg |IconR=Arch_ToggleSubs.svg}}
|[[Arch_3Views|3 Views from mesh]]
|[[Arch_ToggleSubs|Toggle Subcomponents]]
|[[Arch_Module|Arch]]
|IconL=Arch_3Views.svg
|IconC=Workbench_Arch.svg
|IconR=Arch_ToggleSubs.svg
}}


<!--T:1-->
<!--T:1-->
Line 8: Line 15:
|Name=Arch MakeIfcSpreadsheet
|Name=Arch MakeIfcSpreadsheet
|MenuLocation=Arch → Utilities → Create IFC spreadsheet
|MenuLocation=Arch → Utilities → Create IFC spreadsheet
|Workbenches=[[Arch Module|Arch]]
|Workbenches=[[Arch_Module|Arch]]
|Shortcut={{KEY|I}} {{KEY|P}}
|Shortcut={{KEY|I}} {{KEY|P}}
|SeeAlso=[[Arch IFC]], [[Arch IfcExplorer]]
|SeeAlso=[[Arch_IFC|Arch IFC]], [[Arch_IfcExplorer|Arch IfcExplorer]]
|Icon=Arch_Schedule.svg
|Icon=Arch_Schedule.svg
}}
}}
Line 56: Line 63:
<translate>
<translate>
<!--T:12-->
<!--T:12-->
{{Docnav
{{docnav|[[Arch_3Views|3 Views from mesh]]|[[Arch_ToggleSubs|Toggle Subcomponents]]|[[Arch_Module|Arch]]|IconL=Arch_3Views.svg |IconC=Workbench_Arch.svg |IconR=Arch_ToggleSubs.svg}}
|[[Arch_3Views|3 Views from mesh]]
|[[Arch_ToggleSubs|Toggle Subcomponents]]
|[[Arch_Module|Arch]]
|IconL=Arch_3Views.svg
|IconC=Workbench_Arch.svg
|IconR=Arch_ToggleSubs.svg
}}


</translate>
</translate>

Revision as of 20:44, 24 November 2020

Arch MakeIfcSpreadsheet

Menu location
Arch → Utilities → Create IFC spreadsheet
Workbenches
Arch
Default shortcut
I P
Introduced in version
-
See also
Arch IFC, Arch IfcExplorer

Description

This tool creates a spreadsheet to store IFC properties of an object.

Usage

  1. Select an object.
  2. Invoke the command using several methods:
    • Pressing the Create IFC spreadsheet button on the toolbar.
    • Using the I then P keyboard shortcut.
    • Using the Arch → Utilities → Create IFC spreadsheet entry from the top menu.

Scripting

See also: Arch API and FreeCAD Scripting Basics.

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

spreadsheet = makeIfcSpreadsheet(archobj=None)
  • Creates a spreadsheet object. Optionally an archobj can be given.

Example:

import FreeCAD, Draft, Arch

Line = Draft.makeWire([FreeCAD.Vector(0, 0, 0), FreeCAD.Vector(2000, 2000, 0)])
Wall = Arch.makeWall(Line, width=150, height=3000)
FreeCAD.ActiveDocument.recompute()

spreadsheet = Arch.makeIfcSpreadsheet(Wall)