If you are interested in Forge programming, don't miss the upcoming deadline for proposals for the Boston Forge accelerator! Looking at the Revit API, I migrated my sample demonstrating how to enable ribbon items in zero document state to Revit 2019. Let's look at that, and another recurring topic, on loading add-in support DLLs – Migrating the ZeroDocPanel to Revit 2019 – Loading add-in support DLLs – Rome and Boston Forge accelerators...
I updated the Visual Studio Revit C# and VB add-in templates for Revit 2019. They enable you to create a new C# or VB Revit add-in in Visual Studio with one single click on File > New > Project... > Visual Basic/Visual C# > Revit 2019 Addin and define a complete skeleton Revit add-in, ready to immediately compile and run, including an add-in manifest file, external application and external command. Just hit F5 to start debugging; the add-in manifest is installed, Revit launched and the command is immediately available...
We already looked at deleting unnamed non-hosting reference planes back in 2012 and 2014.
Some things have changed since then, and the old code requires fixing and updating.
Other interesting topics also want to be mentioned
– Embodyment workshop
– Bös Fulen mountain hike
ReferenceIntersector to place lighting fixture on ceiling face
– Reformat stable representation string for dimensioning
– Deleting unnamed non-hosting reference planes updated...
The Revit 2019.1 update has been released. It is equipped with an updated API that includes several exciting enhancements for add-in developers. Many relate directly to explicit developer wishes and requests – Information sources – What's new in previous versions – What's new in the Revit 2019.1 API – API Changes – API Additions...
An interesting question was raised on renaming a family after it has been loaded into a project, which throws some light on the underlying relationship between the family name and the
Before that, we revisit the eternal topic of getting started with the Revit API, and what to do to prepare for it before actually touching Revit at all.
Afterwards, and similarly, we pick up a good suggestion or two on planning and preparing your extensible storage schema for future version handling
– Before getting started
– Renaming a family in a project
– Extensible storage – versioning best practices...
After the significant struggle I had to compile the initial release of the Revit 2019 SDK samples and set up RvtSamples 2019, I am happy to report that installing and compiling the Revit 2019 SDK April 27 update is a lot easier
– Downloading the April 27 SDK update
– Initial compilation – 41 warnings
– Processor architecture mismatch suppressed – 5 warnings
– Update reference to
RevitAPISteel.dll – 3 warnings
– Setting up
Following up on yesterday's discussion of What's New in the Revit 2019 API, here is a webinar invitation to walk through the results live from the product point of view. I also share a high-level comparison of some aspects of Forge versus A360 for a total newbie thinking about building a solution for a client to manage 3D models and collaborate on them with sub-contractors – Webinar on What’s New in Revit 2019 – Forge versus A360...
The Revit 2019 API includes numerous exciting enhancements for add-in developers. Many relate directly to explicit developer wishes and requests – Information sources – Installation and migration from previous versions – What's new in previous versions – What's new in the Revit 2019 API – API Changes – API Additions...
I set up RvtSamples for the Revit 2019 SDK samples. Just like the migration to previous versions, this is not a trivial undertaking. To cut a long story short and simply share my current working RvtSamples source code for the Revit 2019 SDK, here is RvtSamples_2019.zip containing my modified files...
I already described how I installed Revit 2019, compiled the Revit 2019 SDK samples and migrated RevitLookup to the new version.
I now migrated some of the other basic samples and utilities and have some Forge news to share
– The Building Coder samples for Revit 2019
AdnRme MEP HVAC and electrical samples for Revit 2019
– AdnRevitApiLabsXtra for Revit 2019
– Convert RVT to IFC via Forge
– Forge accelerators
– Forge webinars
– Open position for an infrastructure BIM implementation consultant...
I installed Revit 2019 and compiled the Revit 2019 SDK.
That was quite a struggle
– Installing Revit 2019
– Installing the Revit 2019 SDK
– Installing the .NET Framework 4.7
– Compiling the Revit 2019 SDK samples
– Processor architecture mismatch warnings
– Numerous Revit API assembly reference conflicts
– SampleCommandsSteelElements lacks components
– AppearanceAssetEditing using deprecated API...
Revitalizer shared two important hints: a performance issue using
ElementTransformUtils and a problem reporting mechanism built into the
First, though, let's highlight an even more important upcoming event, the series of DevDays online webinars
– Register now for Autodesk DevDays online webinars
– Avoid using
ElementTransformUtils for batches
– Finding cause of
DirectShape generation problem...
Let's discuss the Revit API enhancements added since the initial release of Revit 2018 – Revit 2018.2 Product Update and Resolved API Issues – Revit 2018.2 SDK Update – Major Additions to the Revit 2018.1 API – Material API additions – Geometry API additions – BrowserOrganization API additions – IFC additions – Rebar API additions – Major Additions to the Revit 2018.2 API – Fabrication API additions...
Migrating a Revit add-in to a new release of the Revit API is generally very easy. The API features slight changes from version to version. Modifications are announced a year or two in advance, and signalled during compilation by deprecated API usage warnings. If you clean up your code every year or two and remove all API usage that causes warning messages, you will normally have very little to do to migrate it later on...
As usual, I am answering Revit API cases and maintaining the documentation and training material. What I really should be doing is preparing my upcoming class for Autodesk University in Darmstadt. Here are some of the things I dealt with today – API changes from Revit 2013 to Revit 2017 – ADN Xtra Revit API Labs for Revit 2018 – Access to modified combo box setting...
An updated version of the Revit SDK was published, I set up
RvtSamples for Revit 2018, which I use to load The Building Coder samples, and we present a useful employment of the
DatumPlane class methods
– Revit 2018 SDK Update
– RvtSamples for Revit 2018
– How to Modify Grid Curve End Points...
Here is just a quick note to begin the week with the good news that the Revit 2018 issue reported in the Revit API discussion forum thread on Revit 2018, DWF, shaded views, and Windows explorer bug is resolved by the hotfix to handle the product crash when communicating with licensing server. It can apparently also occur when exporting or printing views...
In Revit 2018, cancelling family instance placement during a call to
PromptForFamilyInstancePlacement throws an
– Easily fixed, once discovered
– Change in Behaviour
– Exceptions Should be Exceptional
– The Building Coder samples
Updates on Revit 2017, Revit 2018, and above all our treasured Revit API Docs. Plus, the clock is running now on two Forge enhancements. Finally, notes on DevCon, AU, female coders and the Women Who Code conference – Revit 2018 added to Revit API Docs – Revit 2018.0.1 hot fix – Revit 2017.2.1 update – Forge scopes enforcement by May 22 – Forge View and Data API countdown – Forge DevCon call for speakers is open – Autodesk University call for proposals – Five Autodeskers speak at Women Who Code...
I updated the Visual Studio Revit C# and VB add-in templates for Revit 2018. They enable you to create a new C# or VB Revit add-in in Visual Studio with one single click on File > New > Project... > Visual Basic/Visual C# > Revit 2018 Addin and define a complete skeleton Revit add-in, ready to immediately compile and run, including an add-in manifest file, external application and external command. Just hit F5 to start debugging; the add-in manifest is installed, Revit launched and the command is immediately available...
The Revit 2018 includes numerous exciting enhancements for add-in developers. The What's New section always provides very important information, both for discovering and exploring the newly added API functionality and for later reference. If you encounter any issues migrating your existing add-ins between different versions, this is one of the first places to look...
Revit 2018 has been released. The Revit 2018 SDK is available from the Revit Developer Centre. I migrated RevitLookup and The Building Coder samples. Finally, the call for proposals has opened for the Forge DevCon at Autodesk University in Las Vegas – Revit 2018 Software Developers Kit – RevitLookup 2018 – The Building Coder samples 2018 – Forge DevCon call for proposals...
I implemented a neat new little sample add-in, RvtFader, that calculates and displays signal attenuation caused by distance and obstacles, specifically walls. It uses two very interesting pieces of Revit API functionality – AVF, the Analysis Visualisation Framework, for displaying graphical data in a transient manner directly in the BIM – The ReferenceIntersector ray tracing functionality to detect walls and other obstacles between two points. In the course of implementing the AVF part of things, I also resuscitated my trusty old RevitWebcam add-in – RevitWebcam – RvtFader – Task – Implementation – Further Reading...
I started working on the question answering system Q4R4 Question Answering for Revit API.
The first step is to import The Building Coder blog posts into Elasticsearch and experiment with full-text queries on them.
Furthermore, we are proud to present yet more enhancements to the revamped version of RevitLookup
– Q4R4 sources and result presentation
tbc blog posts into Elasticsearch
– Listing and clearing the Elasticsearch
– Strip and clean up HTML for JSON document
– Q4R4 GitHub repo and
– RevitLookup bug fixes
– RevitLookup icons...
Unprecedented exciting information to share with you today! DevDays Online recordings are available right now, before the product launch! Furthermore, we are proud to present another little update of the revamped version of RevitLookup – Forward-looking DevDays Online API news – Revit API news for the next major release – Revit API news slide deck contents – Must do – New functionality – Revit roadmap – RevitLookup enhancements...
Gui Talarico created an extremely useful online version of the contents of the Revit API help file RevitAPI.chm. It sports significant advantages over the locally hosted Windows help file – Online access from anywhere, any platform, OS, device – Share links to specific topics for discussion with peers – Covers and compares between multiple versions of the Revit API; During the expansion cover Revit 2017.1, Gui implemented a number of other significant enhancements...
I already discussed the first clean-up of the new
Reflection based version of RevitLookup; here comes the second one, restoring access to view extensible storage data
– Recent changes to RevitLookup
– Restore access to extensible storage data
– Download and access to old functionality...
Last week, I presented Andrey Bushman's new Visual Studio templates for Revit add-ins. Furthermore, we discussed many aspects of edit and continue in the past, including the solution to use the Add-in Manager. These two topics have now met and united, because Andrey added support for that and a bunch of other new functionality in his commit...
Last week, I presented a drastic change to RevitLookup using
Reflection to provide more complete coverage of all the Revit database element methods and properties. Victor Chekalin took a critical look at this new version and cleaned it up significantly. Now all is well and order has been restored again
– Shock and gripe
– Commit summary
– 1. Methods and properties extraction
– 2. Show enum values
– 3. Drill down into
– 4. Remove duplicate
get_ property getter method
– 5. Fixed
– 6. Visual style of separator
– Download and access to old functionality
– Reaction and read-only assurance...
I revisited the custom tooltip implementation that I prepared to demonstrate the Revit 2013 API features including the View API and its
UIView class. It class still provides the only possibility to convert back and forth between Revit model coordinates and Windows device screen points. That functionality can be combined with the
ReferenceIntersector to shoot a ray through the model to determine what Revit database element is located under the current cursor position and display a custom tooltip presenting information about it or anything else you please...
How to attach a shared parameter to Material elements?
– Updated ADN Xtra labs to remove all deprecated API usage
– A new addin that creates and populates a shared parameter to provide material information for each element
– Autodesk University 2016 class materials have now been posted, including the recording of my session on connecting desktop and cloud
Material elements to external database entries
– Binding a shared parameter to elements
– Attaching a shared parameter to
– Create and populate a shared parameter
– Cornelius story – cured by natural remedies...
I recently mentioned the updated Revit 2017.1 SDK and its API enhancements. They are documented in full detail in the section Major additions to the 2017.1 Revit API of the Revit 2017.1 API help file
RevitAPI.chm included with the SDK, which is also provided there in the separate stand-alone document Revit Platform API Changes and Additions.docx. For convenient, easy and effective web searching, here is the online version of that information...
I am in Darmstadt preparing the Forge and BIM presentation and hands-on workshop at Technische Universität Darmstadt, Institut für Numerische Methoden und Informatik im Bauwesen, the institute for numerical methods and computer science in the construction industry at the technical university here. Many other larger events are coming up after this – BIM@TuDa agenda – Getting started with Dynamo – Forge news – New Forge resources – Forge events and community – DevDays – Developer Day conferences and accelerators...
I am preparing the Forge and BIM presentation and hands-on workshop this coming Friday at Technische Universität Darmstadt, Institut für Numerische Methoden und Informatik im Bauwesen, the institute for numerical methods and computer science in the construction industry at the technical university in Darmstadt. Now I prepared a detailed analysis of the exact changes I made to the forge-boilers.nodejs boilerplate code to implement the roomedit3dv3 sample connecting BIM with the cloud
– Comparing the root folder contents
– Comparing the Forge node.js boilerplate
– Starting fresh from scratch
– Copy, install and load the viewer extension
– Adding the link to load the viewer extension
– Renamed viewer extension base and toolkit
– All Viewer Extension Modifications
– Successful test and final diff – 25 lines of code...
I returned from the Munich Forge accelerator, travelling back to Switzerland by train. For ecological reasons, I prefer to avoid flying whenever I possibly can. Last Friday was the deadline for submitting my Autodesk University handout, so that kept me busy. I still need to improve it a bit, and I hope a post-deadline update is feasible. I am presenting two classes, and I have a special discount to offer you. Lots of other things are happening as well – My classes at Autodesk University – $400 AU registration discount – Revit 2017.1 SDK – REX SDK FreezeDrawing sample – Determining the height of a column...