<?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: Host an Adaptive Instance in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/host-an-adaptive-instance/m-p/11629422#M15048</link>
    <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see that I've retreived the references points as advised above, but how would I go about using the ReferencePoint.SetPointElementReference method? Do I specify the host in the constructor?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2022 12:09:38 GMT</pubDate>
    <dc:creator>jmadeley37KVE</dc:creator>
    <dc:date>2022-12-19T12:09:38Z</dc:date>
    <item>
      <title>Host an Adaptive Instance</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/host-an-adaptive-instance/m-p/11622029#M15044</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having some difficulties hosting an adaptive family instance. I've taken a look around and it appears that once I have created an instance I can't rehost it, so this leaves me with the only option of host it on creation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To create an adaptive component instance I'm using the AdaptiveComponentInstanceUtils.CreateAdaptiveComponentInstance() method - but this only accepts two parameters of document and symbol. I can see that the object that is created has a Host of Null, so is it possible to create an adaptive component with a host object defined?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 09:56:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/host-an-adaptive-instance/m-p/11622029#M15044</guid>
      <dc:creator>jmadeley37KVE</dc:creator>
      <dc:date>2022-12-15T09:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Host an Adaptive Instance</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/host-an-adaptive-instance/m-p/11622195#M15045</link>
      <description>&lt;P&gt;Oh dear. We recently looked at a similar issue:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/rehosting-adaptive-point/m-p/11282839" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/rehosting-adaptive-point/m-p/11282839&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe we need to report this to the development team as well. I &lt;A href="https://autodesk.slack.com/archives/C0SR6NAP8/p1671103382566909" target="_blank"&gt;asked&lt;/A&gt; them for you how to address this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 11:24:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/host-an-adaptive-instance/m-p/11622195#M15045</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-12-15T11:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Host an Adaptive Instance</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/host-an-adaptive-instance/m-p/11624980#M15046</link>
      <description>&lt;P&gt;Thanks Jeremy, from my research this was going to be solved in Revit 2023 but I can't see any difference from 2022. Is there a method that I should be using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 13:34:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/host-an-adaptive-instance/m-p/11624980#M15046</guid>
      <dc:creator>jmadeley37KVE</dc:creator>
      <dc:date>2022-12-16T13:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Host an Adaptive Instance</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/host-an-adaptive-instance/m-p/11625238#M15047</link>
      <description>&lt;P&gt;Yes. The development team replied:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks like the &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12916159"&gt;@jmadeley37KVE&lt;/a&gt; is unaware of how to rehost the instance points after placing them. Here is the response:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;One has to fetch the placement point ids from the placed instance and rehost those points individually:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;AdaptiveComponentInstanceUtils.GetInstancePlacementPointElementRefIds&lt;/LI&gt;
&lt;LI&gt;AdaptiveComponentInstanceUtils.GetInstancePointElementRefIds&lt;/LI&gt;
&lt;LI&gt;AdaptiveComponentInstanceUtils.GetInstanceShapeHandlePointElementRefIds&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One can rehost the individual placement points and shape handles using ReferencePoint.SetPointElementReference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While references from project will work without issues, the curve references from family instances had some issues in older Revit. Curve references from family instances issue was reported in REVIT-181785 (&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/rehosting-adaptive-point/m-p/11282839" target="_blank" rel="noopener"&gt;forum link&lt;/A&gt;) and is fixed in Revit 2022.2, Revit 2023.1 and all subsequent future releases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 15:17:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/host-an-adaptive-instance/m-p/11625238#M15047</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-12-16T15:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Host an Adaptive Instance</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/host-an-adaptive-instance/m-p/11629422#M15048</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see that I've retreived the references points as advised above, but how would I go about using the ReferencePoint.SetPointElementReference method? Do I specify the host in the constructor?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 12:09:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/host-an-adaptive-instance/m-p/11629422#M15048</guid>
      <dc:creator>jmadeley37KVE</dc:creator>
      <dc:date>2022-12-19T12:09:38Z</dc:date>
    </item>
  </channel>
</rss>

