I share a contribution from fellow blogger Eric Boehlke and the announcement of the upcoming yearly DevDays Online presentations:
- Add-in migration – update API references
- Addendum – NuGet package and .NET framework version
- Join us for our DevDays Online webinars
Eric Boehlke of truevis BIM Consulting wrote a blog post about how to upgrade a Revit API add-in to a version of Revit.
You may already have done this thousands of times. One of the reasons to write these posts is to remember for myself how to do such things a year from now. Hence: Upgrading Revit API Apps For Newer Revit Versions
Here is a 75-second video reiterating the same instructions to make a dry subject more fun:
The cautionary message on not confusing
RevitUIAPI.dll is due to personally running into that issue once.
Removing the existing Revit API references, adding the new ones, and setting
Copy Local to
false is the foolproof way to upgrade.
In many cases, though, you can do this all in one single step by just adding the new references.
This overwrites the old references and retains the
However, that is an unimportant detail.
It's not actually much effort to create such a video from a blog post. lumen5.com makes an initial "AI" attempt at turning my blog posts into videos. Then I just refine it. It takes 10 or 15 minutes. They say: "We automatically create Instant Videos for you based on your RSS feeds. "
Here's another one of Eric's videos, on how to get coordinates of an existing Revit View, then use them for placing other Views in Dynamo.
Jason Masters adds some important notes to this in his comment below:
In terms of upgrading Revit API versions, I'd highly recommend switching from references to the SDK to referencing the NuGet package published by Matthew Taylor (Revit_All_Main_Versions_API_x64):
This package contains all the Revit API references across all versions. Using NuGet means that any other developer opening your repo won't necessarily need the SDK to build it, it will integrate more easily into CI/CD pipelines, and checking against different API versions is as simple as changing which version of the NuGet package you're using.
Also, if you need to migrate to 2020, you're going to need to first change the .NET target framework version of your project to 4.7, then update your references to the 2020 API.
Many thanks to Jason for these important notes!
We welcome you to join us for our special series of webinars where we’ll be going over the current important development topics. Some of them were already covered last year's DevCon events. These webinars are a great opportunity for you to learn about Autodesk Forge and where Autodesk is taking the desktop platforms in the coming year.
Click on the links below to register for the webinar(s) of your choice.
All webinars start at 8am PST (4pm GMT, 5pm CET, 11am EST). If the session timing is inconvenient for you to attend (which is true for most of our partners in Asia), you can rest assured we will be recording all the sessions and will post them on the web for your later viewing.
Registration is open to all except where noted below:
- Tuesday 2020-02-25 – DevDays Keynotes
– Jim Quanci, Senior Director for Software Partner Development, kicks off our DevDays online webinar series with the latest news for desktop developers (get ready for the 2021 releases this Spring), Forge roadmap that includes the Forge Design Automation CAD Engines on the cloud (AutoCAD, Revit, Inventor and 3ds Max) and an overview of the enhanced BIM 360 APIs for the Autodesk Construction Cloud.
- Wednesday 2020-02-26 – Forge API Update
– Augusto Goncalves will discuss in detail the updated and new APIs added to the Forge platform during the last year.
- Thursday 2020-02-27 – Revit, Civil 3D and InfraWorks API Updates (for ADN members only)
– Join Sasha Crotty and Augusto Goncalves to discover the product and API changes and enhancements coming in the next releases of Revit, Civil 3D and InfraWorks.
- Tuesday 2020-03-03 – Inventor, Vault and Fusion API Update (for ADN members only)
– We will review upcoming changes in the next release of Inventor as well as recent updates in Vault and Fusion 360 API.
- Wednesday 2020-03-04 – BIM 360 API Update
– Learn about new APIs in the BIM 360 family products.
We’ll talk about new Model Coordination and Cost Management APIs and other API enhancements.
- Thursday 2020-03-05 – The next Release of AutoCAD APIs (for ADN members only)
– Discover API changes coming in the upcoming release of AutoCAD Rogue.
After registering, you will receive a confirmation email containing information about joining the webinars.