<?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: Is there no way to change the host and work plan of a family using the Revit in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-no-way-to-change-the-host-and-work-plan-of-a-family/m-p/7264528#M57045</link>
    <description>&lt;P&gt;Dear&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_6cbdaabf7d5879" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/71628" target="_self"&gt;AlbertoTorres&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Please accept our sincerer apology for the delay! We had a backlog in the queue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;I am sorry to say that there is currently no API access to this functionality.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;But maybe you can do it in this workaround like you said,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;1. Get the FamilySymbol from your existed instance.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;2. Call&amp;nbsp; &lt;SPAN&gt;PromptForFamilyInstancePlacement&lt;/SPAN&gt;(Autodesk.Revit.DB.FamilySymbol familySymbol, PromptForFamilyInstancePlacementOptions options) method to put the instance in where you want.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;3. Then set the new instance properties.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;4. Delete the old one.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jul 2017 05:33:27 GMT</pubDate>
    <dc:creator>JimJia</dc:creator>
    <dc:date>2017-07-31T05:33:27Z</dc:date>
    <item>
      <title>Is there no way to change the host and work plan of a family using the Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-no-way-to-change-the-host-and-work-plan-of-a-family/m-p/7252070#M57044</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Is there no way to change the host and work plan of a family using the Revit API 2017, without having to re-insert it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All I find is to re-insert with NewFamilyInstance.&lt;/SPAN&gt; And then I would have to copy all the parameters of the old family into the new family and then delete the old one.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems strange to me that nobody has a solution for this.&lt;/SPAN&gt; Someone can help me, I'm desperate. &lt;SPAN&gt;I have tried everything and it seems like a dead end.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Using the API do the same as the Edit Workplane utility does:&lt;BR /&gt;&lt;BR /&gt;- Switch to a new host&lt;BR /&gt;- Placing an instance on a new face&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Edit_Work_Plane (Pick a new host).png" style="width: 471px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/381912i3A8BC7A38933C32F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Edit_Work_Plane (Pick a new host).png" alt="Edit_Work_Plane (Pick a new host).png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Edit_Work_Plane (Pick a new face).png" style="width: 507px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/381911iEE1E186CA3F20B04/image-size/large?v=v2&amp;amp;px=999" role="button" title="Edit_Work_Plane (Pick a new face).png" alt="Edit_Work_Plane (Pick a new face).png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 10:25:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-no-way-to-change-the-host-and-work-plan-of-a-family/m-p/7252070#M57044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T10:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is there no way to change the host and work plan of a family using the Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-no-way-to-change-the-host-and-work-plan-of-a-family/m-p/7264528#M57045</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_6cbdaabf7d5879" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/71628" target="_self"&gt;AlbertoTorres&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Please accept our sincerer apology for the delay! We had a backlog in the queue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;I am sorry to say that there is currently no API access to this functionality.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;But maybe you can do it in this workaround like you said,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;1. Get the FamilySymbol from your existed instance.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;2. Call&amp;nbsp; &lt;SPAN&gt;PromptForFamilyInstancePlacement&lt;/SPAN&gt;(Autodesk.Revit.DB.FamilySymbol familySymbol, PromptForFamilyInstancePlacementOptions options) method to put the instance in where you want.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;3. Then set the new instance properties.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;4. Delete the old one.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 05:33:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-no-way-to-change-the-host-and-work-plan-of-a-family/m-p/7264528#M57045</guid>
      <dc:creator>JimJia</dc:creator>
      <dc:date>2017-07-31T05:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is there no way to change the host and work plan of a family using the Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-no-way-to-change-the-host-and-work-plan-of-a-family/m-p/7264706#M57046</link>
      <description>&lt;P&gt;Hi JimJia,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think &lt;SPAN class=""&gt;&lt;SPAN&gt;PromptForFamilyInstancePlacement&lt;/SPAN&gt;&lt;/SPAN&gt; is not even a workaround since it requires user interaction.&lt;/P&gt;
&lt;P&gt;What if we need to re-host &lt;EM&gt;hundreds&lt;/EM&gt; of FamilyInstances...?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Revitalizer&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 07:23:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-no-way-to-change-the-host-and-work-plan-of-a-family/m-p/7264706#M57046</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2017-07-31T07:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is there no way to change the host and work plan of a family using the Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-no-way-to-change-the-host-and-work-plan-of-a-family/m-p/7264710#M57047</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Is there nothing in the Revit API to copy these properties?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt; &lt;SPAN&gt;Do you want to create a function for it?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a topic that is being prepared for future versions of Revit?&lt;/SPAN&gt;&lt;BR /&gt;** There are still black holes in the Revit API that have not yet been fixed, like this, rotate elements, etc ...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 07:24:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-no-way-to-change-the-host-and-work-plan-of-a-family/m-p/7264710#M57047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-31T07:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is there no way to change the host and work plan of a family using the Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-there-no-way-to-change-the-host-and-work-plan-of-a-family/m-p/7276108#M57048</link>
      <description>&lt;P&gt;I am sorry to say there isn't such APIs can do that currently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 06:19:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-there-no-way-to-change-the-host-and-work-plan-of-a-family/m-p/7276108#M57048</guid>
      <dc:creator>JimJia</dc:creator>
      <dc:date>2017-08-04T06:19:51Z</dc:date>
    </item>
  </channel>
</rss>

