<?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: Rebar Coupler Geometry from Linked Revit model in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/rebar-coupler-geometry-from-linked-revit-model/m-p/12568679#M7225</link>
    <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you had some time to look at this again, and try it yourself?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;</description>
    <pubDate>Mon, 19 Feb 2024 08:54:58 GMT</pubDate>
    <dc:creator>DonnyVA</dc:creator>
    <dc:date>2024-02-19T08:54:58Z</dc:date>
    <item>
      <title>Rebar Coupler Geometry from Linked Revit model</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rebar-coupler-geometry-from-linked-revit-model/m-p/12557147#M7222</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get the geometry of rebar couplers from a linked Revit model.&lt;/P&gt;&lt;P&gt;I've used the RevitLookup add-in, searched this forum and the internet but I haven't found a solution yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I explore the API with RevitLookup in the model that contains the actual rebar coupler, the "Geometry (Options)" property returns a list or IEnumerable of "GeometryInstance" in the "Active view".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DonnyVA_0-1707814770873.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1325458iF7674B8EADC62E21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DonnyVA_0-1707814770873.png" alt="DonnyVA_0-1707814770873.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So far so good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, if I explore the API in a model that has a linked Revit model that contains this rebar coupler, I get different results.&amp;nbsp;"Active view" doesn't return any list or IEnumerable.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DonnyVA_1-1707815152004.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1325459i9719EAAF968F02FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DonnyVA_1-1707815152004.png" alt="DonnyVA_1-1707815152004.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Active view, including non-visible objects" returns a "Line" object. And no, this Line object is not helpful.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DonnyVA_3-1707815682116.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1325468iDE5E3E84999CCFBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DonnyVA_3-1707815682116.png" alt="DonnyVA_3-1707815682116.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this is weird because the rebar coupler is visible, the "IsHidden (View)" property is also False.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DonnyVA_2-1707815415486.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1325462iF93C8A0372CB1D59/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DonnyVA_2-1707815415486.png" alt="DonnyVA_2-1707815415486.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All other "Model" views return also nothing or a "Line" object.&lt;/P&gt;&lt;P&gt;Am I missing something here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm going to investigate other methods like "GetPointsForPlacement".&lt;/P&gt;&lt;P&gt;Maybe I can use that to create geometry from this coupler.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 09:51:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rebar-coupler-geometry-from-linked-revit-model/m-p/12557147#M7222</guid>
      <dc:creator>DonnyVA</dc:creator>
      <dc:date>2024-02-13T09:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rebar Coupler Geometry from Linked Revit model</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rebar-coupler-geometry-from-linked-revit-model/m-p/12557216#M7223</link>
      <description>&lt;P&gt;After you linked the model, check the Application object list of documents:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.revitapidocs.com/2024/8a32ffe0-7e80-e85c-78aa-1af48ace4d74.htm" target="_blank"&gt;https://www.revitapidocs.com/2024/8a32ffe0-7e80-e85c-78aa-1af48ace4d74.htm&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The linked document is listed there. Snoop the linked document instead of the main project document, retrieve your linked element from it, and explore that element's geometry. It should include the&amp;nbsp;&lt;SPAN&gt;GeometryInstance objects that you need.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Much success, good luck and have fun.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 10:47:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rebar-coupler-geometry-from-linked-revit-model/m-p/12557216#M7223</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2024-02-13T10:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Rebar Coupler Geometry from Linked Revit model</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rebar-coupler-geometry-from-linked-revit-model/m-p/12557633#M7224</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use "Snoop Linked Element" and then select the rebar coupler from the linked model, I get this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DonnyVA_0-1707834488239.png" style="width: 734px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1325587i500250745E47A823/image-dimensions/734x508?v=v2" width="734" height="508" role="button" title="DonnyVA_0-1707834488239.png" alt="DonnyVA_0-1707834488239.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Document "MOG2... Caisson E7" is the linked model...&lt;/P&gt;&lt;P&gt;But still, only a "Line" object as IEnumerable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;RevitLookup&lt;/LI&gt;&lt;LI&gt;Dashboard&lt;/LI&gt;&lt;LI&gt;Application&lt;/LI&gt;&lt;LI&gt;Documents (DocumentSet)&lt;/LI&gt;&lt;LI&gt;Caisson E7 model&lt;/LI&gt;&lt;LI&gt;But then I get stuck on how to get the rebar coupler element&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:34:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rebar-coupler-geometry-from-linked-revit-model/m-p/12557633#M7224</guid>
      <dc:creator>DonnyVA</dc:creator>
      <dc:date>2024-02-13T14:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rebar Coupler Geometry from Linked Revit model</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/rebar-coupler-geometry-from-linked-revit-model/m-p/12568679#M7225</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you had some time to look at this again, and try it yourself?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 08:54:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/rebar-coupler-geometry-from-linked-revit-model/m-p/12568679#M7225</guid>
      <dc:creator>DonnyVA</dc:creator>
      <dc:date>2024-02-19T08:54:58Z</dc:date>
    </item>
  </channel>
</rss>

