Getting started material and questions galore. Please search before asking, and work through the available material before trying to shoot yourself in your feet, knees, and elsewhere – Marko's plugin development playlist – Overview – Table of contents – Getting started with an API script – Getting started with a macro – OBJ mesh import with materials – 2D Booleans in the Revit API...
As always, interesting topics keep pouring in from the Revit API discussion forum and elsewhere – Torsion Tools GitHub launch and solution overview – Detect command launch – SelectableInViewFilter – Access project location in Forge – Distinguish structural elements and access volume information in Forge...
A search for Revit API related books, a very nice new Revit API starter kit, a richer and much more complex literary AI-related book, and a quick bottleneck steel guitar blues recording not related with any technical topic whatsoever – A very basic book on Revit API – Revit API starter kit – Machines like me – Bottleneck blues guitar...
I am on vacation right now, enjoying splendid weather camping on the coast of the Atlantic. Meanwhile, here are a few items that cropped up in the past few days – Getting started and programming buttons with Revit API – Links to API to modify visual appearance of materials – Improving performance by optimising CPU voltage...
Revit 2020 has been released, and we go through the same procedure as every year, looking at the DevDays online presentations highlighting the API news, getting the system requirements set up, installing, compiling the Revit SDK samples and setting up RvtSamples to load them – Revit 2020 first customer shipment – Revit 2020 DevDays Online – Setting up Windows 10 – Installing Revit 2020 and the new SDK – Visual Studio and .NET 4.7 – Compiling the Revit 2020 SDK samples – Setting up RvtSamples...
Several people have recently asked how to get started with Forge Design Automation for Revit or DA4R. I will not get into any nitty-gritty details, since they are well covered by the Forge Design Automation API documentation, which includes DA4R tutorials and samples. Here are examples of two conversations on planning first steps for DA4R solutions – Structural analysis with DA4R – Implementing a DA4R RVT round trip...
Today I discuss the next step in my IfcSpaceZoneBoundaries project, how to prepare a Revit add-in for use in the DA4R or Design Automation for Revit environment and figuring out how to best handle it in the VS solution – Context, add-in functionality and history – Preparing the add-in for DA4R – Local testing versus live deployment – User defined input arguments for DA4R – Logging of results...
Inundated with interesting topics, let's skim a few topmost ones off
– Passing an add-in custom command line parameters
– Useful methods help verify a
Face is rectangular
– Automate complex family creation
– C++ code extracts 3D line segments from point cloud
– Big data visualisation and storytelling...
Happy New Year! I spent some time during the winter break working on CSV export of room boundaries for a Forge BIM surface classification tool. Ali Asad presented a new Visual Studio WPF MVVM Revit add-in template – Export room boundaries to CSV for Forge surface classification – Visual Studio WPF MVVM Revit add-in template...
Let's highlight a nice interactive didactical Python-based Revit API learning challenge on how to get the bounding box from a Revit element and determine its centre – Cyril's Python HVAC blog – Rotating elements around their centre in Python – Retrieve element and bounding box from picked reference – Use location point instead of bounding box centre – Final working solution...
Today we discuss a couple of Dynamo considerations, Revit family and element fundamental concepts, and an exception handler required for a custom exporter
– Revit API versus Dynamo for Revit
– Dynamo 2.0.X versus 1.3.3
– Difference between
– Custom exporter
Execute may throw
– Turned on Git LFS...
I am just getting ready to leave for Darmstadt, for the Forge DevCon and German Autodesk University. Here are some quick recent topics I want to share before jumping on the train – BIM 360 Docs API change for European data centre access – Revit add-in locations – Autodesk AppStore bundle format – Juli Zeh über das Turbo-Ich – YouTube video subtitles and auto-translation...
I arrived in Rome Sunday afternoon and am now happy to be here at the Forge accelerator together with my Autodesk colleagues and the other attending companies. Before diving in further into the accelerator, I would like to point out the new inspiring AEC resources shared by That Bim Girl, and also post some notes to self on Q4R4 – That BIM Girl – Notes to Self on AskNow for Q4R4...
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...
As I already mentioned, I am taking lots of time off in July.
This is just a note to let you know I am alive, well and happy, currently in Brassac in Occitanie in southern France,
on my way to practice awareness, care and attentiveness in
the Buddhist monastery Plum Village near Bordeaux.
On the road, I'll just share this quick note from
a comment by Zhmayev Yaroslav on multi-targeting Revit versions using
– Multi-Version Revit Add-In Template...
I am taking lots of time off in July, so this may be my last post for a while.
Before leaving, I will share my answers to a list of pertinent questions on add-in registration, especially how to populate the add-in manifest
VendorId tag and handle the trusted digital DLL signature
– Add-in registration –
– Add-in registration – trusted digital add-in signature
– Vacation in July...
I am attending the BAM Digital Construction Live event in the UK and presenting on Forge for that domain. Today, I'll share my slide deck from this event and welcome my colleague Xiaodong answering his first Revit API cases – Forge for Digital Construction – Welcome Xiaodong and invoking the Draw Model Line command...
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...
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...
Two recent Revit MEP related cases brought up some new information on the pipe
K factor table and custom calculations for pipe fittings, the Forge DevCon class recordings are now available, and I discovered Konrad Sobon's wonderful archi+lab Revit API blog, which helps resolve an installation and setup issue
K factor table
K factor calculation for pipe fittings
– Dynamo code to change loss coefficient
– Forge DevCon 2017 class recordings
– Revit add-in installer and buttons...
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...
A "don't miss" list of the main highlights and a heads-up on some of the biggest happenings – See into the future of Forge with partner and executive keynotes – Choose from over 50 AU classes on ways to take advantage of cloud solutions – Visit the Village, an exclusive exhibit open only to Forge DevCon attendees – Demo and witness first hand the new AR/VR Toolkit – Get to know Amazon Web Services through these classes and exhibits...
My plans changed and I will not be visiting Las Vegas this year after all. The most important participants in the Revit API session that I was preparing to host are the members of the Revit development team, anyway. I very strongly urge you to not miss the chance to attend both AU and the preceding Forge developer conference, though – Forge DevCon highlights and reasons to join your peers – Sneak peek at the Forge DevCon keynotes – Visit the exclusive Forge DevCon village on Monday – Get one on one with Amazon Web Services – Decide now...
I'll be attending the two Autodesk University conferences in Darmstadt, Germany, October 17-18, and Las Vegas, USA, November 14-16. Both of these are preceded by a Forge DevCon developer conference. You may be interested only in Revit and its API or other desktop oriented programming and asking yourself why you should care about Forge and all that cloud stuff. If so, you might want to expand your horizon and take a look at Stephen Preston's analysis and explanation in his article on 'developing for Autodesk desktop software? Here's why you should care about Forge DevCon (and Autodesk University)'...
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...