Editing Revit setup for OpenBIM/Revit IFC geolocation

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:
{{Autodesk_Revit}}
+
{{warning|This information needs to be tested for accuracy against recent version of Revit}}
= From Revit IFC 19.4.0.0 / 20.2.0.0 / 21.1.0.0 =
 
 
 
{{warning|[https://github.com/Autodesk/revit-ifc/issues/290 An issue] with units mismatch has been raised by Jon Mirtschin}}
 
 
 
Native input of global coordinates has been implemented in Revit IFC [https://github.com/Autodesk/revit-ifc/releases/tag/IFC_v19.4.0.0 19.4.0.0] / [https://github.com/Autodesk/revit-ifc/releases/tag/IFC_v20.2.0.0 20.2.0.0] / [https://github.com/Autodesk/revit-ifc/releases/tag/IFC_v21.1.0.0 21.1.0.0]. Although only for IFC4.
 
 
 
== Set coordinates ==
 
Specify your <code>Project Base Point</code> coordinates according to data given by your surveyor :
 
 
 
[[File:RevitSetCoordinates.png]]
 
 
 
Your <code>Project Base Point</code> should not move relatively to your building / elements. You might also want to apply coordinates to <code>Survey Point</code> to keep both at same location.
 
 
 
Alternatively, you can unclip <code>Survey Point</code>, set coordinates in properties, re-clip it then move it to your <code>Project Base Point</code>. You still need to set angle to north in <code>Project Base Point</code>.
 
 
 
You will also need to set the combined scale factor. This scale factor * surface distance = grid distance. Sometimes, surveyors will give you the opposite. The scale factor will be close to 1. Then, download the [https://raw.githubusercontent.com/Autodesk/revit-ifc/master/Install/Program%20Files%20to%20Install/IFC%20Shared%20Parameters-RevitIFCBuiltIn_ALL.txt Revit IFC shared parameters file], and add ProjectGlobalPositioning.Scale as a project parameter and make it apply to the Project Information category as an Instance parameter grouped under the "IFC Parameters" group. Insert the scale factor in the Project Information dialog when done.
 
 
 
== Specify global positioning information during export ==
 
# Modify your export setup
 
# Select <code>Coordinate Base</code> -> <code>Project Base Point</code>
 
# Input <code>EPSG Code</code>. It should be a valid EPSG number see [https://epsg.org EPSG website] or ask your surveyor.
 
 
 
[[File:RevitGlobalPositioning.png]]
 
 
 
== Result ==
 
 
 
You should see an <code>IfcMapConversion</code> in your ifc file after export under <code>IfcProject.RepresentationContexts[0].HasCoordinateOperation[0]</code> :
 
 
 
[[File:RevitIfcMapConversion.png]]
 
 
 
= Before Revit IFC 19.4.0.0 / 20.2.0.0 / 21.1.0.0 =
 
  
 
Revit natively does not allow input of geolocated coordinates. Most users set the <code>N/S</code>, <code>E/W</code>, <code>Elev</code>, and <code>Angle to True North</code> parameters on the <code>Project Base Point</code> and <code>Survey Point</code> objects. Because this workaround is so common and many workflows depend on it, you may continue to apply this workaround without any modification. It is highly advised that the location in Revit of the <code>Project Base Point</code> and the <code>Survey Point</code> is the same.
 
Revit natively does not allow input of geolocated coordinates. Most users set the <code>N/S</code>, <code>E/W</code>, <code>Elev</code>, and <code>Angle to True North</code> parameters on the <code>Project Base Point</code> and <code>Survey Point</code> objects. Because this workaround is so common and many workflows depend on it, you may continue to apply this workaround without any modification. It is highly advised that the location in Revit of the <code>Project Base Point</code> and the <code>Survey Point</code> is the same.
Line 117: Line 86:
  
 
<pre>$ ifcpatch -i input.ifc -r RemoveSiteRepresentation</pre>
 
<pre>$ ifcpatch -i input.ifc -r RemoveSiteRepresentation</pre>
 
 
{{warning|There is currently an inconsistency in naming convention in buildingSMART international [https://buildingsmart-1xbd3ajdayi.netdna-ssl.com/wp-content/uploads/2020/02/User-Guide-for-Geo-referencing-in-IFC-v2.0.pdf User Guide for Geo-referencing in IFC]. See [https://forums.buildingsmart.org/t/geolocation-standards-in-ifc2x3-and-ifc4/2329/16 bsi forum thread] for more information.}}
 
  
 
== IFC4 Geolocation ==
 
== IFC4 Geolocation ==

Please note that all contributions to Wiki.OSArch are considered to be released under the Creative Commons Attribution-ShareAlike (see Wiki.OSArch:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)