<?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: Calculate coordinate object when angle rotate project base point. in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/calculate-coordinate-object-when-angle-rotate-project-base-point/m-p/7144451#M57875</link>
    <description>&lt;P&gt;the coordinates as reported by Revit using a SpotCoordinate&amp;nbsp;with Coordinate Origin == Survey Point&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;                XYZ _point = revit.Application.ActiveUIDocument.Selection.PickPoint();

                ProjectLocation pl = doc.ActiveProjectLocation;
                Transform ttr = pl.GetTotalTransform().Inverse;
                XYZ pointRelSurvey = ttr.OfPoint(_point);
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2017 22:27:10 GMT</pubDate>
    <dc:creator>FAIR59</dc:creator>
    <dc:date>2017-06-11T22:27:10Z</dc:date>
    <item>
      <title>Calculate coordinate object when angle rotate project base point.</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/calculate-coordinate-object-when-angle-rotate-project-base-point/m-p/7136968#M57874</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a question for my code by C.# when i get XYZ location for element. But that is a problem when i set angle Angle to true north for project base point, i only get XYZ for Project base point and XYZ for object but this object only follow project base point. How to do i can get XYZ location for object follow Survey Point. Attached image for my question that is how to do from 1, 2 value, can i get 3 value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/364774i97E9E71B2DD4905C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 06:48:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/calculate-coordinate-object-when-angle-rotate-project-base-point/m-p/7136968#M57874</guid>
      <dc:creator>anhtrung</dc:creator>
      <dc:date>2017-06-08T06:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate coordinate object when angle rotate project base point.</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/calculate-coordinate-object-when-angle-rotate-project-base-point/m-p/7144451#M57875</link>
      <description>&lt;P&gt;the coordinates as reported by Revit using a SpotCoordinate&amp;nbsp;with Coordinate Origin == Survey Point&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;                XYZ _point = revit.Application.ActiveUIDocument.Selection.PickPoint();

                ProjectLocation pl = doc.ActiveProjectLocation;
                Transform ttr = pl.GetTotalTransform().Inverse;
                XYZ pointRelSurvey = ttr.OfPoint(_point);
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2017 22:27:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/calculate-coordinate-object-when-angle-rotate-project-base-point/m-p/7144451#M57875</guid>
      <dc:creator>FAIR59</dc:creator>
      <dc:date>2017-06-11T22:27:10Z</dc:date>
    </item>
  </channel>
</rss>

