Arch IfcSpreadsheet/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "==Использование==")
(Updating to match new version of source page)
Line 6: Line 6:
|MenuLocation=Arch → Utilities → Create IFC spreadsheet
|MenuLocation=Arch → Utilities → Create IFC spreadsheet
|Workbenches=[[Arch Module|Arch]]
|Workbenches=[[Arch Module|Arch]]
|Shortcut=I P
|Shortcut={{KEY|I}} {{KEY|P}}
|SeeAlso=[[Arch IFC]], [[Arch IfcExplorer]]
|SeeAlso=[[Arch IFC]], [[Arch IfcExplorer]]
|Icon=Arch_Schedule.svg
|Icon=Arch_Schedule.svg
Line 13: Line 13:
== Описание ==
== Описание ==


This tool creates a spreadsheet to store IFC properties of an object.
This tool creates a spreadsheet to store [[Arch IFC|IFC]] properties of an object.


==Использование==
==Использование==


# Select an object.
# Select an object.
# Invoke the command using several methods:
# Go to {{MenuCommand|Arch → Utilities → [[Image:Arch_Schedule.svg|16px]] Create IFC spreadsheet}}.
#* Pressing the {{Button|[[Image:Arch_Schedule.svg|16px]] Create IFC spreadsheet}} button on the toolbar.
#* Using the {{KEY|I}} then {{KEY|P}} keyboard shortcut.
#* Using the {{MenuCommand|Arch → Utilities → [[Image:Arch_Schedule.svg|16px]] Create IFC spreadsheet}} entry from the top menu.


== Scripting ==
== Scripting ==

Revision as of 17:00, 1 February 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

Описание

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

Использование

  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)