<?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: references in the same place in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/references-in-the-same-place/m-p/7538489#M54859</link>
    <description>&lt;P&gt;Dear Raymond,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, of course.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Each family instance has an insertion point and a rotation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The insertion point may be handled differently depending on the type of family definition and instance placement type, e.g., face or curve hosted, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide a more detailed example of your exact situation, and I am sure it can be easily solved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also retrieve the family instance placement transformation from its geometry,&amp;nbsp;by accessing the&amp;nbsp;GeometryInstance Transform property:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.revitapidocs.com/2018.1/99cb4580-9b59-6564-8181-6082f275a869.htm" target="_blank"&gt;http://www.revitapidocs.com/2018.1/99cb4580-9b59-6564-8181-6082f275a869.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That will probably provide a more generic possibility to compare the properties you are after.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2017 09:01:32 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2017-11-13T09:01:32Z</dc:date>
    <item>
      <title>references in the same place</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/references-in-the-same-place/m-p/7537187#M54858</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a possibility to check if references (say familyreferences of different instances placed in a model) are parallel and in the same place/overlapping?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2017 12:50:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/references-in-the-same-place/m-p/7537187#M54858</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-12T12:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: references in the same place</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/references-in-the-same-place/m-p/7538489#M54859</link>
      <description>&lt;P&gt;Dear Raymond,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, of course.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Each family instance has an insertion point and a rotation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The insertion point may be handled differently depending on the type of family definition and instance placement type, e.g., face or curve hosted, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide a more detailed example of your exact situation, and I am sure it can be easily solved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also retrieve the family instance placement transformation from its geometry,&amp;nbsp;by accessing the&amp;nbsp;GeometryInstance Transform property:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.revitapidocs.com/2018.1/99cb4580-9b59-6564-8181-6082f275a869.htm" target="_blank"&gt;http://www.revitapidocs.com/2018.1/99cb4580-9b59-6564-8181-6082f275a869.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That will probably provide a more generic possibility to compare the properties you are after.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 09:01:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/references-in-the-same-place/m-p/7538489#M54859</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-11-13T09:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: references in the same place</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/references-in-the-same-place/m-p/7538533#M54860</link>
      <description>Hi Jeremy,&lt;BR /&gt;&lt;BR /&gt;I would like to compare the references of facebased familyinstances. If&lt;BR /&gt;they are in line (say vertically) and 4 instances are placed I would like&lt;BR /&gt;to return 1 reference instead of 4.&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2017 09:13:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/references-in-the-same-place/m-p/7538533#M54860</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-13T09:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: references in the same place</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/references-in-the-same-place/m-p/7538738#M54861</link>
      <description>&lt;P&gt;Dear Raymond,&lt;BR /&gt; &lt;BR /&gt;Thank you for your update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, well, what I already said above still applies.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the insertion point and direction for some basic comparison.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need more than that, you can analyse and compare the respective GeometryInstance Transform property values.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt; &lt;BR /&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 10:25:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/references-in-the-same-place/m-p/7538738#M54861</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-11-13T10:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: references in the same place</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/references-in-the-same-place/m-p/7538753#M54862</link>
      <description>Correct me if I am wrong, but a reference does not have a direct accessible&lt;BR /&gt;direction. Is there a way to retreive the direction of the reference (other&lt;BR /&gt;than using FAIR59 example in another post)?&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2017 10:31:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/references-in-the-same-place/m-p/7538753#M54862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-13T10:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: references in the same place</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/references-in-the-same-place/m-p/7539549#M54863</link>
      <description>&lt;P&gt;Dear Raymond,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;  doc.GetElement( Reference.ElementId ).GetGeometry( new Options )&lt;/PRE&gt;
&lt;P&gt;returns the family instance element geometry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It contains a GeometryInstance, which has a Transform, which determines a coordinate system including a direction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 15:03:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/references-in-the-same-place/m-p/7539549#M54863</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-11-13T15:03:47Z</dc:date>
    </item>
  </channel>
</rss>

