<?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: DMU &amp;amp; Change added elements type problem in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/dmu-amp-change-added-elements-type-problem/m-p/8052782#M49528</link>
    <description>&lt;P&gt;Different actions have different priorities.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Certain actions can only be performed before certain others, not after.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you are attempting to change the type too late in the modification chain.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can influence this by setting the trigger action and DMU priority:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;H4 id="api-title" class="truncate"&gt;ChangePriority Enumeration&lt;/H4&gt;
&lt;P&gt;&lt;A href="http://www.revitapidocs.com/2018/9db16841-106b-23bb-0c29-42017edcf69f.htm" target="_blank"&gt;http://www.revitapidocs.com/2018/9db16841-106b-23bb-0c29-42017edcf69f.htm&lt;/A&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jun 2018 10:06:03 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2018-06-07T10:06:03Z</dc:date>
    <item>
      <title>DMU &amp; Change added elements type problem</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dmu-amp-change-added-elements-type-problem/m-p/8051885#M49527</link>
      <description>&lt;P&gt;Hello Gents,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've implemented a DMU that works fine when I use&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Doc.Delete(Elementid);&lt;/PRE&gt;&lt;P&gt;but when I want to change the family instance type using the following&lt;/P&gt;&lt;PRE&gt;MyFamilyInstance.ChangeTypeId(MyFamilySymbolId);&lt;/PRE&gt;&lt;P&gt;runs into problem but problem with not the script I'm using to change the type because I used already before with an external command and worked fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the problem is : changing the type inside the DMU context.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Suggestion would be highly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Ibrahim Naeem&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 22:42:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dmu-amp-change-added-elements-type-problem/m-p/8051885#M49527</guid>
      <dc:creator>IbrahimNaeem</dc:creator>
      <dc:date>2018-06-06T22:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: DMU &amp; Change added elements type problem</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/dmu-amp-change-added-elements-type-problem/m-p/8052782#M49528</link>
      <description>&lt;P&gt;Different actions have different priorities.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Certain actions can only be performed before certain others, not after.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you are attempting to change the type too late in the modification chain.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can influence this by setting the trigger action and DMU priority:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;H4 id="api-title" class="truncate"&gt;ChangePriority Enumeration&lt;/H4&gt;
&lt;P&gt;&lt;A href="http://www.revitapidocs.com/2018/9db16841-106b-23bb-0c29-42017edcf69f.htm" target="_blank"&gt;http://www.revitapidocs.com/2018/9db16841-106b-23bb-0c29-42017edcf69f.htm&lt;/A&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 10:06:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/dmu-amp-change-added-elements-type-problem/m-p/8052782#M49528</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-06-07T10:06:03Z</dc:date>
    </item>
  </channel>
</rss>

