BIM IfcProperties/it: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
Line 39: Line 39:


The {{FileName|$USERAPPDATA}} folder depends on your platform/operating system:
The {{FileName|$USERAPPDATA}} folder depends on your platform/operating system:
* On Linux/macOS it is usually: {{FileName|$HOME/.FreeCAD}}
* On Windows it is usually: {{FileName|%APPDATA%/FreeCAD}}
* On Windows it is usually: {{FileName|%APPDATA%/FreeCAD}}
* On Linux it is usually: {{FileName|$HOME/.FreeCAD}}
* On macOS it is usually: {{FileName|$HOME/Library/Preferences/FreeCAD}}


It can also be found by entering this in the FreeCAD Python console:
It can also be found by entering this in the FreeCAD Python console:

Latest revision as of 11:48, 24 June 2024

Other languages:

Gestione delle proprietà IFC

Posizione nel menu
Gestione → Gestione delle proprietà IFC
Ambienti
BIM
Avvio veloce
Nessuno
Vedere anche
Gestione elementi IFC,Gestione delle quantità IFC
 
Questo comando fa parte del Addon BIM, che è possibile installare tramite il menu Strumenti → Addons Manager

Descrizione

The IFC properties manager allows you to edit the IFC properties of one selected object, many selected objects or all objects of the document. IFC properties are pieces of information attached to individual objects. They can only be attached to BIM objects, so any non-BIM object must first be converted to a BIM object using the Component tool before being able to hold IFC properties.

IFC properties can be custom, that is, you can define your own name and value for them, or follow a preset schema defined by the IFC standard. These properties are defined in Property sets and are usually made available for the most common IFC types. For example, the Pset_BeamCommon property set is made to be attached to beams. Predefined property sets usually contains usual properties that the IFC schema has defined for a particular type. For example, the Pset_WallCommon, that should be attached to walls, contains properties that define if the wall is load-bearing or is exterior or interior.

You can create your own properties and property sets and attribute them to any object. There is no requirement in the IFC schema to add predefined Psets for common types or any restriction to add custom properties. This is a decision left to users. Usually, when working in a team, these things get decided alongside other BIM requirements, to make sure all BIM models produced meet the same requirements.

Defining your own property sets

The available property sets that are predefined in the IFC standard are stored in a csv file bundled with FreeCAD. You can also add a custom csv file with your own property sets. This file must be named CustomPsets.csv and be placed in $USERAPPDATA/BIM.

The $USERAPPDATA folder depends on your platform/operating system:

  • On Windows it is usually: %APPDATA%/FreeCAD
  • On Linux it is usually: $HOME/.FreeCAD
  • On macOS it is usually: $HOME/Library/Preferences/FreeCAD

It can also be found by entering this in the FreeCAD Python console:

FreeCAD.getUserAppDataDir()

Inside the CSV file, each line represents a different property set, beginning with the name of the set, and any number of Name;Type pairs, defining a property name and its type. For example:

Pset_FreeCAD;Name;IfcLabel;Version;IfcReal

This would define a property set named "FreeCAD" (the Pset_ prefix is not mandatory but is a common practice) that contains two properties: one called "Name" which is an IfcLabel (a piece of text), and another called "Version" which is an IfcReal (a numeric value with decimals).