REVIT XML Units not adhered to on Import

REVIT XML Units not adhered to on Import

Glenn.Coppard
Advocate Advocate
905 Views
3 Replies
Message 1 of 4

REVIT XML Units not adhered to on Import

Glenn.Coppard
Advocate
Advocate

We have just tried importing some 'toposurfaces' from REVIT for excavations around some pier foundations on a bridge.

 

Excerpt from the XML file below show the length units are millimeters, as are the coordinates shown.

However, when this is read into IW360 (2016), it reads the coord's as meters, ie. 1000x their size!

 

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<LandXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.landxml.org/schema/LandXML-1.1 http://www.landxml.org/schema/LandXML-1.1/LandXML-1.1.xsd" xmlns="http://www.landxml.org/schema/LandXML-1.1" version="1.1" date="2017-06-13" time="13:28:28" readOnly="false" language="English">
  <Project name="bridge-3.rvt" />
  <Units>
    <Metric areaUnit="squareMeter" linearUnit="millimeter" volumeUnit="cubicMeter" temperatureUnit="celsius" pressureUnit="mmHG" />
  </Units>
  <Application name="Site Designer for Revit 2016" manufacturer="Autodesk" manufacturerURL="www.autodesk.com">
    <Author createdBy="user" createdByEmail="" company="" />
  </Application>
  <Surfaces name="" desc="">
    <Surface name="P1" desc="" state="proposed">
      <Definition surfType="TIN">
        <Pnts>
          <P id="1">5694290032.64132 1737217394.40709 116994.607617188</P>
          <P id="2">5694290346.04925 1737216852.61423 116509.688378906</P>
          <P id="3">5694290683.57814 1737216269.11643 115987.450488281</P>
          <P id="4">5694290784.014 1737216107.00333 115862.416259766</P>
0 Likes
906 Views
3 Replies
Replies (3)
Message 2 of 4

tmachado
Advisor
Advisor

Hi @Glenn.Coppard, make sure that your units in Revit are set to meters and then export to LandXML.

2017-06-13 08_25_55-Autodesk Revit 2017.2 - Not For Resale Version - [3D View_ full building 3d - BL.png2017-06-13 08_29_03-test.xml - Notepad.png

IW the length units in IW are set as meters unless that you set it to be something else

2017-06-13 08_30_36-Autodesk InfraWorks - Alienville.png


Hope this will help!

Was this answer helpful? If so, please click the ACCEPT AS SOLUTION or the LIKES button

Tatiana Machado
BIM Manager/ Autodesk Certified Instructor
Blog | Twitter | LinkedIn
InfraWorks Ambassador

0 Likes
Message 3 of 4

Glenn.Coppard
Advocate
Advocate

Thanks for the response Tatiana.

 

I won't relay what our bridge designer said after he finished laughing.

 

 

Is the purpose of the header information not there to inform 3d party applications how to process the content contained within...

ie. IW360 should be reading the units of the file are millimeters and thus scaling down the import to suit the units specified within IW360 (being meters in my case).

0 Likes
Message 4 of 4

tmachado
Advisor
Advisor
But is not doing it isn't it???
You can open a case with Autodesk for that, in the meantime changing the units should work.

Hope this will help!

Was this answer helpful? If so, please click the ACCEPT AS SOLUTION or the LIKES button

Tatiana Machado
BIM Manager/ Autodesk Certified Instructor
Blog | Twitter | LinkedIn
InfraWorks Ambassador

0 Likes