Editing Revit setup for OpenBIM
From Wiki.OSArch
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | Revit does not come with strong official support for IFC. This guidebook relies on Revit users using the [https://github.com/Autodesk/revit-ifc revit-ifc] open-source Revit IFC plug-in. | |
− | + | * [https://apps.autodesk.com/RVT/en/Detail/Index?id=1763588736399554049&autostart=true Download revit-ifc 2019] | |
− | |||
− | |||
− | |||
− | |||
− | * [https://apps.autodesk.com/RVT/en/Detail/Index?id=1763588736399554049 Download revit-ifc 2019] | ||
* [https://apps.autodesk.com/RVT/en/Detail/Index?id=8986482933300179260 Download revit-ifc 2020] | * [https://apps.autodesk.com/RVT/en/Detail/Index?id=8986482933300179260 Download revit-ifc 2020] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Simply installing the plug-in does not guarantee the quality of IFC exports and imports. Many parameters need to be manually created and export settings need to be manually written. To aid this procedure a shared parameters file is provided. This is similar to the shared parameters provided by Autodesk, with some additions to overcome shortcomings in the Autodesk version, in particular for geolocation and type vs instance parameter name clashes. Many of these parameters will be used throughout the guidebook. | Simply installing the plug-in does not guarantee the quality of IFC exports and imports. Many parameters need to be manually created and export settings need to be manually written. To aid this procedure a shared parameters file is provided. This is similar to the shared parameters provided by Autodesk, with some additions to overcome shortcomings in the Autodesk version, in particular for geolocation and type vs instance parameter name clashes. Many of these parameters will be used throughout the guidebook. | ||
Line 38: | Line 10: | ||
[[File:Revit-setup-group.png|An example of IFC parameters in Revit]] | [[File:Revit-setup-group.png|An example of IFC parameters in Revit]] | ||
− | OSArch | + | You can download the OSArch Revit Shared Parameters [[File:Revit-sharedparams.txt]], which is based off the official Autodesk-provided shared parameters, but contains minor tweaks to accommodate for common Revit workarounds. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
The Revit IFC exporter also requires the user to define property sets to be exported. By default, the definition is empty. A template is provided below. | The Revit IFC exporter also requires the user to define property sets to be exported. By default, the definition is empty. A template is provided below. | ||
Line 54: | Line 16: | ||
[[File:Revit-setup-psets.png|Setting up psets in Revit]] | [[File:Revit-setup-psets.png|Setting up psets in Revit]] | ||
− | A starting template for Revit user defined psets can be found here: [[File:Revit-psets.txt]] | + | A starting template for Revit user defined psets can be found here: [[File:Revit-psets.txt]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Revit and IFC <code>GlobalId</code> attributes == | == Revit and IFC <code>GlobalId</code> attributes == | ||
− | IFC <code>GlobalId</code> values | + | IFC <code>GlobalId</code> values are not visible in Revit by default. This becomes problematic if users are trying to reference an object by its ID. The only way to see the GlobalId is to export your Revit model to an IFC file with the <code>Store the IFC GUID in an element parameter after export</code> option enabled in <code>File > Export > IFC > Modify Setup > Advanced</code> window, as shown below. It is highly recommended that this option is always enabled. |
[[File:Revit-settings-ifcglobalid.PNG]] | [[File:Revit-settings-ifcglobalid.PNG]] | ||
− | After your export is complete, you can now see a new parameter called <code>IfcGUID</code> for your objects as shown below. Despite the inconsistent naming, this is actually the IFC <code>GlobalId</code>. This property can now be overridden, copied, or searched for. If the text is deleted, it will be rewritten on your next export. | + | After your export is complete, you can now see a new parameter called <code>IfcGUID</code> for your objects as shown below. Despite the inconsistent naming, this is actually the IFC <code>GlobalId</code>. This property can now be overridden, copied, or searched for. If the text is deleted, it will be rewritten on your next export. However, it will always rewrite the original <code>GlobalId</code>, as it is predetermined inside Revit. There is no way to regenerate a fresh ID for an existing Revit object. |
[[File:Revit-params-ifcglobalid.png]] | [[File:Revit-params-ifcglobalid.png]] | ||
Line 93: | Line 47: | ||
# 1W_HslFTT2WwXj91DxSWxH | # 1W_HslFTT2WwXj91DxSWxH | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |