Exporting models to IFC files Follow
You can export Revizto models to IFC files. Then you can import them to other Revizto projects or authoring tools.
- Limitations
- Configuring export settings
- Overriding IFC type assignment rules
- Exporting models to IFC files
Limitations
Export of Revizto models to IFC files has the following limitations:
- The export is available only on Microsoft Windows.
- Point clouds exported from Revizto to an IFC file cannot be imported back to Revizto.
- Automatic IFC type assignment is available only if the language of the model properties is English.
- If you want to use the resulting IFC files in another Revizto project, import them to the project directly. Importing the IFC files to an authoring tool and then to Revizto might cause data inaccuracies.
Configuring export settings
You can configure the settings for exporting models to IFC files using the "Revizto 5 settings of export to IFC" utility.
The utility is available in Revizto versions 5.10 and later.
To configure export settings:
-
Open the Revizto 5 Settings of Export to IFC application. You may need to search for it in the Windows start menu.
-
Select the checkboxes next to your desired export options.
Option Description Export point cloud models Export point cloud models.
It is recommended that you do not export point clouds to federated models.
You will have the option to choose the destination model type (regular or federated) during the export.
Run in parallel threads Export each model in a separate thread. This speeds up the export but requires more RAM.
This option does not apply to export to federated models.
You will have the option to choose the destination model type (regular or federated) during the export.
Export source GUIDs Export GUIDs of Revizto objects to IFC GUIDs. For each object, Revizto will look for its GUID in the following properties:
- Revizto / Ifc Guid
- Item / GUID
- IFC / GLOBALID
The first GUID that is found will be exported to an IFC GUID.
If you clear the checkbox, Revizto will generate random IFC GUIDs.
Export entire model hierarchy Export the entire model hierarchy.
If you clear the checkbox, only geometries and composite objects will be exported. This is how export to IFC was performed in Revizto versions 5.9 and earlier.
Export height to RefElevation Export the height of Revizto objects to the RefElevation property of IfcSite objects. Use this option if you want to view the resulting files in an authoring tool that requires filling RefElevation.
If you clear the checkbox, the RefElevation property will be blank.
Export height to LocalPlacement Export the height of Revizto objects to the Z-value of the LocalPlacement property of IfcSite objects.
If you clear the checkbox, the Z-value of the LocalPlacement property will be blank.
Use this option if you want to view the resulting files in Revit and you selected the Export height to RefElevation checkbox.
Swap local placements of IfcSite and IfcBuilding
Swap local placement coordinates of IfcSite and IfcBuilding.
This is required for correct import of the resulting IFC files to Revit 2022 or earlier.
Assign object types Assign IFC object types whenever possible (based on Revizto model properties).
If you clear the checkbox, all objects will have the default types: IfcBuildingElementProxy for leaf objects and IfcBuildingElementPart for branch objects.
-
Click OK.
Overriding IFC type assignment rules
The export settings include the option to assign IFC object types automatically.
Revizto assigns the IFC object types based on Revizto model properties. If the resulting IFC types are incorrect, you can override the type assignment rules in the configuration file.
Configuration file example
The following is an example of the configuration file that overrides IFC type assignment rules. For the description of the file syntax, see Configuration file syntax.
{
"AssignTypes": true,
"TypeMappings": [
{
"IfcType": "IfcRoof",
"Conditions": [
{
"Property": "Revit-Typ > Familienname",
"Value": "Basisdach"
}
]
},
{
"IfcType": "IfcCovering",
"Conditions": [
{
"Property": "Other > Type",
"Value": "Concrete Deck - Tapered Insulation",
},
{
"Property": "ElementId > Value",
"Value": "140056",
"Negate": true
}
]
}
]
}
Configuration file syntax
The configuration file that overrides IFC type assignment rules is a plain text file.
See also:
Top-level parameters
The file contains the following top-level parameters:
Parameter | Description |
AssignTypes | If you want to override IFC type assignment, set this parameter to true. |
TypeMappings | This section contains the rules for overriding IFC type assignment. |
Rule parameters
A type assignment rule includes an IFC type and one or several conditions. The IFC type is assigned to an object when it meets at least one of the conditions.
Parameter | Description |
IfcType | The IFC type that is applied when the specified conditions are met. |
Conditions | This section contains one or several conditions. |
Condition parameters
A condition checks whether a property value is equal to or not equal to the specified value.
Parameter | Description |
Property |
A Revizto model property in one of the following formats:
|
Value | A property value. |
Negate |
Available values:
If you omit this parameter, it is the same as setting it to false. |
Skipping parameters
You can skip any parameter by adding a hyphen before its name. Revizto will ignore commented parameters.
Example:
"-Negate": true
Configuring IFC type assignment rules
To override the type assignment rules:
-
In the Revizto working folder, find the file ifc_type_mapping.txt.
If the file is not available, create it.
-
Add or edit the type assignment rules.
For detailed information, see Configuration file syntax.
Exporting models to IFC files
You can export models to IFC files if you have the "Export project to IFC" access right.
There are two ways to export Revizto models to IFC files:
- Exporting models from Revizto (unloaded models and hidden objects are not exported)
- Exporting models from the command line (all models and objects are exported)
See also:
Exporting models from Revizto
To export models from Revizto:
-
Configure the export settings.
-
Open the project that you want to export.
-
Do one of the following:
-
Isolate the models that you want to export.
-
Unload or hide the models that you do not want to export.
-
-
At the top of the application window, go to Project > Export to IFC.
-
In the IFC specification field, select the IFC schema specification version.
-
Select the destination folder.
Once you select the folder, Revizto starts the export.
-
If your export settings include assigning IFC types based on model properties, review the resulting IFC files. If any of the types are incorrect, override the type assignment rules.
Exporting models from the command line
You can export models to IFC files using the ExportToIFC command-line utility provided with Revizto.
To export models from the command line:
-
Configure the export settings.
-
Find ExportToIFC.exe in <Revizto installation folder>\Bin.
The default path is:
-
For Revizto 5.10 or earlier:
C:\Program Files\Vizerra LLC\Revizto5\Bin\ExportToIFC.exe.
-
For Revizto 5.11 or later:
C:\Program Files\Revizto SA\Revizto5\Bin\ExportToIFC.exe.
-
-
Run the utility in the command line.
Syntax
When you run the ExportToIFC utility, use the following syntax:
ExportToIFC <--from> <--to> [options]
For the description of arguments and options, consult the following table. If any value that you provide includes spaces, enclose it in double quotation marks.
Argument or option | Mandatory/Optional | Description |
--from | Mandatory |
The path to the Revizto project folder. To view the path, in the Revizto application’s project gallery, move the pointer over the project. The path will be displayed as a tooltip. |
--to | Mandatory | The path to the folder to store the resulting IFC files. |
--ifc | Optional |
The IFC schema specification for the resulting IFC files. Available values are:
The default value is IFC4. |
--first-name | Optional | The first name of the file author. It will be added to the IFC file header. |
--last-name | Optional | The last name of the file author. It will be added to the IFC file header. |
--company | Optional | The file author’s company. It will be added to the IFC file header. |
--department | Optional | The file author’s department. It will be added to the IFC file header. |
-? -h --help |
Optional | Show help. |
Examples
Export to an IFC 4 file without filling the author details:
ExportToIFC.exe --from "C:\Users\User\AppData\Local\Revizto5New\400155" --to "C:\IFC models"
Export an IFC 2x3 file with filling the author details:
ExportToIFC.exe --from "C:\Users\User\AppData\Local\Revizto5New\400155" --to "C:\IFC models" --ifc 2x3 --first-name John --last-name Doe --company "My company" --department "My department"
Resulting file names
Revizto assigns IFC file names as follows:
- If you select the Federated file checkbox during the export, the resulting file name is <project title>.ifc.
- If you clear the Federated file checkbox during the export, each model is exported to <model name>.ifc.
Comments
0 comments
Article is closed for comments.