<?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: Updating Plugins to Revit 2021 in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/9495407#M34480</link>
    <description>&lt;P&gt;Good question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The answer is simple: the methods provided by the Revit API assemblies to serve the Revit API calls made by your add-in remain unchanged.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;New methods have been added, for instance, the new unit API ones that you mention. However, you are not using them, so that makes no difference for your add-in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other methods may have been changed or even removed.&amp;nbsp;However, luckily for you, you have not been using them, so that makes no difference for your add-in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this explains.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 May 2020 08:05:50 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2020-05-06T08:05:50Z</dc:date>
    <item>
      <title>Updating Plugins to Revit 2021</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/9494369#M34479</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;I'm trying to update a revit plugin for Revit 2021.&lt;BR /&gt;The code of the plugin were designed for Revit 2019, but it also works in Revit 2020.&lt;BR /&gt;&lt;BR /&gt;I Followed the guide described here:&amp;nbsp;&lt;A href="https://bit.ly/2za2t6i" target="_blank"&gt;https://bit.ly/2za2t6i&lt;/A&gt;&lt;BR /&gt;and it worked for revit 2021 too.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I've seen that revit 2021 API had several changes, one of then regarding the UnitUtils.ConvertFromInternalUnits() method. Now it uses a ForgeUnitID instead of a DisplayUnitType enum member.&lt;BR /&gt;&lt;BR /&gt;My question is: Why the code that's been originally written in the 2019 version works seemlessly in Revit 2021 ?&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 21:24:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/9494369#M34479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-05T21:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Plugins to Revit 2021</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/9495407#M34480</link>
      <description>&lt;P&gt;Good question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The answer is simple: the methods provided by the Revit API assemblies to serve the Revit API calls made by your add-in remain unchanged.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;New methods have been added, for instance, the new unit API ones that you mention. However, you are not using them, so that makes no difference for your add-in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other methods may have been changed or even removed.&amp;nbsp;However, luckily for you, you have not been using them, so that makes no difference for your add-in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this explains.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 08:05:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/9495407#M34480</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-05-06T08:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Plugins to Revit 2021</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/9495417#M34481</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the code for R2019 you haven't used any of the removed "obsolete" code in R2020/R2021.&lt;/P&gt;&lt;P&gt;Like rules for Filters they changed in R2019 and the old "style" was removed in R2020.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if you used a command with these methods; the Addin wouldn't run or crash (if you usee the same assembly for R2020/R2021), also the .NET Framework version could be a issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See post (R2020, but also available for other versions):&amp;nbsp;&lt;A title="What's New in the Revit 2020 API" href="https://thebuildingcoder.typepad.com/blog/2019/04/whats-new-in-the-revit-2020-api.html?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+typepad%2Fthe-building-coder+%28The+Building+Coder%29" target="_blank" rel="noopener"&gt;What's New in the Revit 2020 API&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Michel&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 08:13:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/9495417#M34481</guid>
      <dc:creator>TripleM-Dev.net</dc:creator>
      <dc:date>2020-05-06T08:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Plugins to Revit 2021</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/9496960#M34482</link>
      <description>&lt;P&gt;I Actually have used a lot of methods that have been replaced in the 2021 version of the Revit API.&lt;BR /&gt;&lt;BR /&gt;I use some of the methods of the UnitUtils class... some of then was replaced.&lt;BR /&gt;&lt;BR /&gt;When visual studio compiles my code. Does it adapt, or recognize the old methods and somehow "translates" it to the new ones?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thats the only thing i can think of.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 17:55:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/9496960#M34482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-06T17:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Plugins to Revit 2021</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/9497039#M34483</link>
      <description>&lt;P&gt;UnitUtils hasn't been removed in R2021, it will be gone in R2022 (if it follows the same route as always)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See&amp;nbsp;&lt;A title="Obsolete API removal" href="https://thebuildingcoder.typepad.com/blog/2020/04/whats-new-in-the-revit-2021-api.html" target="_blank" rel="noopener"&gt;Obsolete API removal&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only&amp;nbsp;Autodesk.Revit.DB.ImageImportOptions and methods relating to it have now been removed (and would return a error)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once a function is replaced or obsolete (deprecated), it will be removed in the next Revit version.&lt;/P&gt;&lt;P&gt;For instance "&lt;SPAN&gt;ParameterFilterElement.GetRules" is marked as&amp;nbsp;deprecated in studio for Revit 2019 and removed completely in Revit 2020.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Michel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Michel&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 18:21:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/9497039#M34483</guid>
      <dc:creator>TripleM-Dev.net</dc:creator>
      <dc:date>2020-05-06T18:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Plugins to Revit 2021</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/9498106#M34484</link>
      <description>&lt;P&gt;Many thanks to Michel for the detailed explanation!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To summarise and point out the gist of this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This procedure gives you one year's time to update your code to remove all dependencies on deprecated API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ensure that your add-in compiles with zero warnings, and you will be ready to compile it for the next major release of Revit as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your code generates warnings about using deprecated code now, it will no longer run unmodified in the next major release of Revit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 06:37:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/9498106#M34484</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-05-07T06:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Plugins to Revit 2021</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/10206827#M34485</link>
      <description>&lt;P&gt;this is a great article , thanks for letting me know that this is possible easily, yet i don't have a good programing knowledge , by any chance if you have updated the code for autosave plugin , i hope you can share it with me pls . all the free plugin stops at 2019. thanks&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 08:25:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/10206827#M34485</guid>
      <dc:creator>sofonias.s</dc:creator>
      <dc:date>2021-04-02T08:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Plugins to Revit 2021</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/10206829#M34486</link>
      <description>this is a great article , thanks for letting me know that this is possible easily, yet i don't have a good programing knowledge , by any chance if you have updated the code for autosave plugin , i hope you can share it with me pls . all the free plugin stops at 2019. thanks @</description>
      <pubDate>Fri, 02 Apr 2021 08:27:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/10206829#M34486</guid>
      <dc:creator>sofonias.s</dc:creator>
      <dc:date>2021-04-02T08:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Plugins to Revit 2021</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/10207028#M34487</link>
      <description>&lt;P&gt;You do not specify what you mean by 'all the free plugin', nor do you say exactly what you mean by 'autosave plugin'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is one of the Revit add-ins that I share in GitHub repositories, I will gladly take a look at migrating it to Revit 2021.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 10:25:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/10207028#M34487</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2021-04-02T10:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Plugins to Revit 2021</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/10545381#M34488</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;&amp;nbsp;THANKS ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;HERE IS THE LINK&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://apps.autodesk.com/RVT/en/Detail/Index?id=4970299609340791742&amp;amp;appLang=en&amp;amp;os=Win64" target="_blank"&gt;https://apps.autodesk.com/RVT/en/Detail/Index?id=4970299609340791742&amp;amp;appLang=en&amp;amp;os=Win64&lt;/A&gt;&lt;/P&gt;&lt;P&gt;R AUTOSVE&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Aug 2021 13:52:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/updating-plugins-to-revit-2021/m-p/10545381#M34488</guid>
      <dc:creator>sofonias.s</dc:creator>
      <dc:date>2021-08-14T13:52:34Z</dc:date>
    </item>
  </channel>
</rss>

