<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How To Convert Autocad Point to Revit Coordinates Using Revit API in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-convert-autocad-point-to-revit-coordinates-using-revit/m-p/5708546#M72745</link>
    <description>It may be too basic, but are you considering the UNITS between AutoCAD and Revit?&lt;BR /&gt;&lt;BR /&gt;Revit will always use FEET on the API, but AutoCAD is unitless.</description>
    <pubDate>Tue, 07 Jul 2015 11:55:29 GMT</pubDate>
    <dc:creator>augusto.goncalves</dc:creator>
    <dc:date>2015-07-07T11:55:29Z</dc:date>
    <item>
      <title>How To Convert Autocad Point to Revit Coordinates Using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-convert-autocad-point-to-revit-coordinates-using-revit/m-p/5601238#M72744</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically I have "Points" created in autocad with X and Y values as seen from the screenshot below:&lt;/P&gt;&lt;P&gt;Note that the line connecting the points is just so when I bring this dwg file to Revit, I can pick the line and check the values of the points later.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="cad.JPG" alt="cad.JPG" width="261" height="322" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/164908i90671C35582AE182/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I linked the dwg file in Revit and to see the values of the "Points", I converted the line to a "Property LIne" so I can conveniently display the values using the "Spot Coordinates" tag. (as seen from the image below)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="before.JPG" alt="before.JPG" width="332" height="467" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/164909i401FF44B2E3A700C/image-size/original?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is, how come the values of points in Autocad differs from Revit as shown by the image above?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And to correct the difference, I need to "Acquire the Coordinates" and as you can see from the image below, they now match exactly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="after.JPG" alt="after.JPG" width="322" height="464" border="0" src="https://forums.autodesk.com/t5/image/serverpage/image-id/164912i891682F266AEEC89/image-size/large?v=mpbl-1&amp;amp;px=-1" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is&amp;nbsp;there a way I can use the Revit API to programmatically 'Set" the X and Y values to create the same effect as in the last image above without having to go through the process of creating the points in Autocad, linking it in Revit and acquiring the coordinates just to get the correct X and Y values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Btw, I tried to create a line using the API by using the&amp;nbsp; Line.&lt;SPAN&gt;CreateBound&lt;/SPAN&gt;() method passsing in the X and Y coordinates of the dwg points but its way too far and seems not correct as if it was done using the "Acquire Coordinates".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So any pointers if this is possible via Revit API is greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And just incase, I have attached the dwg and Revit file used as example for convenience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2015 13:33:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-convert-autocad-point-to-revit-coordinates-using-revit/m-p/5601238#M72744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-21T13:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: How To Convert Autocad Point to Revit Coordinates Using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-convert-autocad-point-to-revit-coordinates-using-revit/m-p/5708546#M72745</link>
      <description>It may be too basic, but are you considering the UNITS between AutoCAD and Revit?&lt;BR /&gt;&lt;BR /&gt;Revit will always use FEET on the API, but AutoCAD is unitless.</description>
      <pubDate>Tue, 07 Jul 2015 11:55:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-convert-autocad-point-to-revit-coordinates-using-revit/m-p/5708546#M72745</guid>
      <dc:creator>augusto.goncalves</dc:creator>
      <dc:date>2015-07-07T11:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: How To Convert Autocad Point to Revit Coordinates Using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-convert-autocad-point-to-revit-coordinates-using-revit/m-p/6289237#M72746</link>
      <description>&lt;P&gt;Yes the units is one factor. Also, if you linked the AutoCAD file Origin to Origin, and the units were correct, then the point XYZ should match without Sharing&amp;nbsp;Coordinates.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Apr 2016 09:46:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-convert-autocad-point-to-revit-coordinates-using-revit/m-p/6289237#M72746</guid>
      <dc:creator>Dale.Bartlett</dc:creator>
      <dc:date>2016-04-24T09:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: How To Convert Autocad Point to Revit Coordinates Using Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-convert-autocad-point-to-revit-coordinates-using-revit/m-p/6293156#M72747</link>
      <description>&lt;P&gt;The coordinates displayed&amp;nbsp;using the spot coordinate tool are offset from the survey point while the internal origin&amp;nbsp;is controlled by the Project Base Point, the project base point has coordinate parameters which are offsets from the survey point (more correctly though the coordinates are the inverse offset of the survey point from the project base point). The auto origin-origin option in the link cad tool places the cad model's&amp;nbsp;origin&amp;nbsp;at the project base point. if the survey point is not exactly on the project base point then the cad and internal api coordinates will differ from those displayed using spot coordinates. you can fix this programatically by setting the coordinate parameters of the project base point to 0,0,0 which will snap the survey point to the project base point . It's quite counter-intuitive but I'm sure there's a reason it works this way...&amp;nbsp;&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://forums.autodesk.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 13:04:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-convert-autocad-point-to-revit-coordinates-using-revit/m-p/6293156#M72747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-26T13:04:37Z</dc:date>
    </item>
  </channel>
</rss>

