<?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: Exchange an Family in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9934705#M29704</link>
    <description>&lt;P&gt;I take it from your posting history this is an API question rather than UI?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm no expert on MEP categories but the usual generic way you change one ElementType for another is by:&lt;/P&gt;&lt;P&gt;Element.ChangeTypeId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generally if you change an ElementType from what it currently is to one from another family of the same category so be it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should review if there are any utility methods within Plumbing namespace to see if there is anything better than the above (to maintain other relationships that may be affected by such a change which I'm not aware of).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Dec 2020 11:53:52 GMT</pubDate>
    <dc:creator>RPTHOMAS108</dc:creator>
    <dc:date>2020-12-12T11:53:52Z</dc:date>
    <item>
      <title>Exchange an Family</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9933645#M29700</link>
      <description>&lt;P&gt;Is it possible to exchange an Family by another Family ?&lt;/P&gt;&lt;P&gt;I have in my model a pipe with a valve from Honeywell, and I would like to replace it with one from Oventrop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First family - &lt;U&gt;Honeywell&lt;/U&gt; with type &lt;U&gt;TB10&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Second family - &amp;nbsp;&lt;U&gt;Oventrop&lt;/U&gt; &amp;nbsp;with type &lt;U&gt;OT15&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 20:26:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9933645#M29700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-11T20:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange an Family</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9933851#M29701</link>
      <description>&lt;P&gt;Are you just trying to replace an instance of a family that's been placed? If so you can select the instance and set its Symbol property equal to the Family Type you want to switch it to.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 22:09:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9933851#M29701</guid>
      <dc:creator>AGGilliam</dc:creator>
      <dc:date>2020-12-11T22:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange an Family</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9933881#M29702</link>
      <description>&lt;P&gt;&lt;SPAN&gt;an instance&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 22:27:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9933881#M29702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-11T22:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange an Family</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9934521#M29703</link>
      <description>&lt;P&gt;Have you tried match properties?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 258px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/855457iC0DF81C81C4DD4EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2020 08:54:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9934521#M29703</guid>
      <dc:creator>joshua.lumley</dc:creator>
      <dc:date>2020-12-12T08:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange an Family</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9934705#M29704</link>
      <description>&lt;P&gt;I take it from your posting history this is an API question rather than UI?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm no expert on MEP categories but the usual generic way you change one ElementType for another is by:&lt;/P&gt;&lt;P&gt;Element.ChangeTypeId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generally if you change an ElementType from what it currently is to one from another family of the same category so be it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should review if there are any utility methods within Plumbing namespace to see if there is anything better than the above (to maintain other relationships that may be affected by such a change which I'm not aware of).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2020 11:53:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9934705#M29704</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2020-12-12T11:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange an Family</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9936112#M29705</link>
      <description>&lt;P&gt;sorry my fault &lt;span class="lia-unicode-emoji" title=":face_with_rolling_eyes:"&gt;🙄&lt;/span&gt;, no the family is already modeled in the model, but because of the price or the customer's choice we have to change brands&lt;BR /&gt;so it's not an instance&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2020 10:51:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9936112#M29705</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-13T10:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange an Family</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9936654#M29706</link>
      <description>&lt;P&gt;Keep the family but change the manufacturer parameter so that it appears correct in schedules.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2020 18:43:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9936654#M29706</guid>
      <dc:creator>joshua.lumley</dc:creator>
      <dc:date>2020-12-13T18:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange an Family</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9938679#M29707</link>
      <description>&lt;P&gt;yes, but the dimensions of the valve are not the same&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 14:43:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9938679#M29707</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-14T14:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange an Family</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9938873#M29708</link>
      <description>&lt;P&gt;Are you encountering problems with .ChangeTypeId (Families contain types not instances).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instance based dimensions should remain the same type based ones will change to what is relevant for the type.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 15:49:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9938873#M29708</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2020-12-14T15:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange an Family</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9945885#M29709</link>
      <description>&lt;P&gt;thank you all, it works&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 09:50:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9945885#M29709</guid>
      <dc:creator>ahmed.errazak</dc:creator>
      <dc:date>2020-12-17T09:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange an Family</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9945898#M29710</link>
      <description>&lt;P&gt;May I be the accepted solution...I put in more work than RPTHOMAS108 .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;P&gt;(not a douchebag)&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 09:55:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9945898#M29710</guid>
      <dc:creator>joshua.lumley</dc:creator>
      <dc:date>2020-12-17T09:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Exchange an Family</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9945923#M29711</link>
      <description>&lt;P&gt;&lt;EM&gt;Sorry, I was so glad that it worked, that I didn't pay attention to my answer&lt;BR /&gt;Definitely Joshua and thanks again&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 10:08:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exchange-an-family/m-p/9945923#M29711</guid>
      <dc:creator>ahmed.errazak</dc:creator>
      <dc:date>2020-12-17T10:08:34Z</dc:date>
    </item>
  </channel>
</rss>

