<?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 Element Location property value is far from the element bounding box in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/element-location-property-value-is-far-from-the-element-bounding/m-p/8762611#M42707</link>
    <description>&lt;P&gt;I have a FamilyInstance element. I'm trying to get its' location as [X,Y,Z]&lt;/P&gt;
&lt;P&gt;The value that is returned is ~ [33, -86, 0]&lt;/P&gt;
&lt;P&gt;The true location of the element is ~[-153, -32, 58]&lt;/P&gt;
&lt;P&gt;It doesn't seem to be related to the document's Transform since it doesn't fix it, and also the bounding box doesn't even bound this element (neither before not after applying the transform. Not even close).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I even tried to look at the Element's geometry and it still doesn't match.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there something I'm missing?&lt;/P&gt;
&lt;P&gt;The element's location is LocationPoint.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Location L = e.Location;&lt;BR /&gt;LocationPoint lp = L as LocationPoint;&lt;BR /&gt;lp.Point&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2019 16:02:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-04-30T16:02:25Z</dc:date>
    <item>
      <title>Element Location property value is far from the element bounding box</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/element-location-property-value-is-far-from-the-element-bounding/m-p/8762611#M42707</link>
      <description>&lt;P&gt;I have a FamilyInstance element. I'm trying to get its' location as [X,Y,Z]&lt;/P&gt;
&lt;P&gt;The value that is returned is ~ [33, -86, 0]&lt;/P&gt;
&lt;P&gt;The true location of the element is ~[-153, -32, 58]&lt;/P&gt;
&lt;P&gt;It doesn't seem to be related to the document's Transform since it doesn't fix it, and also the bounding box doesn't even bound this element (neither before not after applying the transform. Not even close).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I even tried to look at the Element's geometry and it still doesn't match.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there something I'm missing?&lt;/P&gt;
&lt;P&gt;The element's location is LocationPoint.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Location L = e.Location;&lt;BR /&gt;LocationPoint lp = L as LocationPoint;&lt;BR /&gt;lp.Point&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 16:02:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/element-location-property-value-is-far-from-the-element-bounding/m-p/8762611#M42707</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-30T16:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Element Location property value is far from the element bounding box</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/element-location-property-value-is-far-from-the-element-bounding/m-p/8766212#M42708</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The location point only depends on how the family is modelled. If you don't like this you can modify the family, save it and update it in the model.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is why you should never use the LocationPoint to find an element. You can't know how the family was modelled...&lt;/P&gt;
&lt;P&gt;Bye&lt;/P&gt;
&lt;P&gt;Benoit&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 08:12:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/element-location-property-value-is-far-from-the-element-bounding/m-p/8766212#M42708</guid>
      <dc:creator>BenoitE&amp;A</dc:creator>
      <dc:date>2019-05-02T08:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Element Location property value is far from the element bounding box</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/element-location-property-value-is-far-from-the-element-bounding/m-p/8766390#M42709</link>
      <description>&lt;P&gt;Saved for posterity:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2019/05/location-point-and-filtering-hints.html#2" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2019/05/location-point-and-filtering-hints.html#2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks, Benoit!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 10:04:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/element-location-property-value-is-far-from-the-element-bounding/m-p/8766390#M42709</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-05-02T10:04:47Z</dc:date>
    </item>
  </channel>
</rss>

