The Building Coder blog standalone on GitHub, APS accelerator in Dublin, AU announcements, learning Revit API, retrieving all fabrication item materials, Revit add-in unit testing, AI-generated code, podcasts, news and more... Read more →
The Building Coder blog standalone on GitHub, APS accelerator in Dublin, AU announcements, learning Revit API, retrieving all fabrication item materials, Revit add-in unit testing, AI-generated code, podcasts, news and more... Read more →
Posted on November 04, 2022 at 11:00 in Accelerator, AI, APS, AU, Data Access, Events, Getting Started, Git, Material, News, Testing, Utilities | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
AU 2022 classes are available online now, as well as a new Dynamo book and resources project.
I also present some ongoing nitty-gritty discussions on external events and Idling
– Modern add-in deployment and testing
– Parametric curvature in families
– Awesome Dynamo online book project
– Launching command after closing form
– Chaining Idling events and other solutions...
Read more →
Posted on October 21, 2022 at 11:00 in .NET, Deployment, Dynamo, Events, External, Family, Idling | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Looking at Revit macro usage, add-in manager debug/trace functionality and journal analysis in Python and Dynamo – Revit macro study shareback – Add-in manager with debug trace – Journal file analysis – Plugging the HSL colour format... Read more →
Finally a chance to meet and learn live about Forge, the updated developer's guide and a nice JoinGeometryUtils
sample
– Revit 2023 developer's guide
– Forge Data Days
– Obtaining closed loops for joined element parts
– Create and style your QR code
– La Serre greenhouse wheelbarrow ballet...
Read more →
Boris Shafiro hosted the virtual Revit API expert and feedback roundtable on Thursday last week as part of the Autodesk University Idea Exchange. I took the following notes... Read more →
Posted on November 26, 2020 at 11:00 in AU, Events, News | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Expand the value and reach of your Revit add-in. Join our webinar and learn how to quickly add cloud powered capabilities to your application and business offering by leveraging Forge and BIM 360... Read more →
Posted on November 20, 2020 at 11:00 in 360, BIM, Cloud, Events, Forge, Getting Started | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I encourage all developers interested in the Revit API to join me and the Revit development team in the Revit API expert roundtable and feedback session at Autodesk University this week, on Thursday, 19 November 2020, 15:00-16:00 o'clock Central European Time, CET... Read more →
Posted on November 17, 2020 at 11:00 in AU, Events, News | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Some new topics, and, as always, some recurring – Document session id – Valid Revit API context and external events – Determining RVT file version for DA4R workitem – Revit API via HTTP – Parable of the polygons... Read more →
Posted on November 11, 2020 at 11:11 in Architecture, DA4R, Events, External, Forge, Philosophy, REST, Server | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Here is a last-minute heads-up for the first online Inside the Factory live AMA (Ask me Anything) style session today, Thursday, September 10, with Aaron Vorwerk, Senior Technical Marketing Manager, Harlan Brumm, Senior Product Manager of Architecture and Sasha Crotty, Senior Product Manager, Revit Platform & Services... Read more →
Posted on September 10, 2020 at 11:00 in AU, Events, News, Philosophy, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Here are two important utilities, one eagerly awaited, the other a nice surprise: the updated REX and Structural analysis SDKs and a powerful async
and await
wrapper for the Revit API external event
– REX SDK and Structural Analysis SDK 2020
– Revit.Async
– Background
– Standard approach
– Revit.Async approach...
Read more →
Kennan Chen perfected his family instance placement monitor by elegantly combining the Revit API with additional .NET timer and multi-threading functionality in a novel fashion seldom seen in a Revit add-in... Read more →
Posted on February 21, 2020 at 11:00 in .NET, Algorithm, Events, External, Modeless, Selection, User Interface, Utilities | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
async
and await
external event wrapper!
Communicating from outside with Revit is often better replaced by the Forge Design Automation API for Revit.
However, it is also possible to make use of Revit as a server in a limited way via an external event
– Communicating with another process
– Autodesk open positions...
Read more →
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 – Join us for our DevDays Online webinars... Read more →
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... Read more →
Posted on January 21, 2020 at 11:00 in BIM, DA4R, Data Access, Events, Forge, Getting Started, RST | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I very much enjoyed my quick visit to Swissbau Basel yesterday and meeting so many wonderful people there. Here are some recent getting started tips on various areas: programming in general, C#, the Revit API and Insight – The C# Yellow Book – Chinese Revit API tutorial – Insight into Insight... Read more →
Posted on January 16, 2020 at 11:00 in 360, Analysis, BIM, Events, Getting Started, Insight360 | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Here is a last-minute announcement that I will be attending the Swissbau Basel on Wednesday, a quick hint to answer a support case that just came in today, a forum thread issue, and a pointer to a drum solo – Attending Swissbau Basel on Wednesday – Comparing families using part atoms – Maximum area rectangle in polygon – Neil Peart drum solo... Read more →
The hugely popular Design Automation APIs for Revit, Inventor, and 3ds Max will be officially released to the public on October 28. In a completely different vein, I found a very simple solution to download photos from an Android phone to the Mac – Public Forge Design Automation APIs – What can you do with Design Automation API for Revit? – Easy solution to transfer photos from Android to Mac – Gadgets in 1990 vs. 2018... Read more →
Let's take a quick look at implementing a dynamic model updater in a macro – Task – Solution – Drill up the filter... Read more →
Posted on October 17, 2019 at 11:00 in DMU, Events, Macro | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Preserving another couple of interesting recent threads from the Revit API discussion forum on various extensible and external topics – Extensible storage reading trouble – External event implementation – External DLL loading – External side face of a pipe... Read more →
Posted on September 26, 2019 at 11:00 in .NET, Data Access, Events, External, Geometry, Storage | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Several user interface related topics are being discussed in the Revit API discussion forum – Keep my form on top of Revit! – Creating buttons and getting started with an add-in UI – Integrating a web-based UI... Read more →
Posted on September 25, 2019 at 11:00 in .NET, Events, External, Modeless, Ribbon, User Interface, Win32, WPF | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Please note that the European Forge DevCon in Darmstadt is looming imminent. Furthermore, here are some notes on two recent Revit programming discussions and a pointer to some of the top-rated online classes – DevCon Darmstadt – Personal DevCon invitation from Jim Quanci – Sun direction adjusted for project true north – Reading an RVT file without Revit – The top 100 free online courses... Read more →
We repeat the call to participate in the Revit API survey, and heartily invite you to register for the Forge DevCon conferences in Europe and North America – Revit API and Design Automation API Survey – Forge DevCon 2019 at AU in Las Vegas – Forge DevCon 2019 at AU in Darmstadt... Read more →
I had an extensive discussion on automatically driving Revit from outside to auto-execute a simple functionality with no user input, originally implemented by an external command. Also, a big thank you to all for the numerous congratulations on The Building Coder's eleventh birthday – Auto-executing an external command – Eleventh birthday congratulations... Read more →
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... Read more →
Posted on February 05, 2019 at 11:00 in Architecture, DA4R, Events, Forge, Getting Started, IFC, Logging, Migration, Settings | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Topics to start the week – Revit API panel at AU in Las Vegas – Automatic BIM dashboard data extraction – When to regenerate the document? – RevitLookup centre parent for forms... Read more →
Posted on November 19, 2018 at 11:00 in AU, BIM, Data Access, Events, News, Regen, RevitLookup | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
We return to
the question on how
to combine multiple transactions into one undo with a new answer by Arnošt Löbel, ex Senior Principal Engineer of the Revit development team
– How do I know how many transactions, and which ones, are assimilated into group?
– What if I start a transaction before starting a group (in the same API context) and then call Assimilate
, will this ahead started one also be assimilated into the group?
– I can leave the API context (external event or Execute
method) with the transaction group still open...
Read more →
Posted on November 10, 2018 at 11:00 in Events, External, Group, Transaction | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I am making my last preparations for going to DevCon Europe in Darmstadt next week; DevCon Asia took place in Tokyo in August, and DevCon for the rest of the universe is coming up next month – DevCon Europe at AU Germany in Darmstadt – DevCon at Autodesk University in Las Vegas... Read more →
I am making final travel preparations for the Forge accelerator in Rome next week, and need to start preparing for DevCon Europe as well. As always, when you have no time to spare, something else urgent cropped up as well requiring immediate attention – Forge DevCon Europe coming – Hijacking Typepad search input for Google site search... Read more →
Posted on September 21, 2018 at 11:00 in Accelerator, AU, DevCon, Events, Forge, HTML, JavaScript | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
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... Read more →
Joshua Lumley pointed out the recording he made for his BILT submission on five secrets of Revit API C# coding. Before getting to that, here are a couple of pictures from this last weekend's mountain tour – Ruessigrat, Brotmesser and Matthorn – Five secrets of Revit API Coding... Read more →
Posted on September 10, 2018 at 11:00 in .NET, Climbing, Events, External, Getting Started, Macro, Modeless, Philosophy, Photo, Transaction | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today is The Building Coder's tenth birthday! The first post was a warm welcome on August 22, 2008. Very many thanks to the entire community for all your support, interest, comments and above all numerous contributions over the years! Today, let's pick up the recurring topic of accessing the Revit API from a modeless context... Read more →
Posted on August 22, 2018 at 11:00 in .NET, Events, External, Idling, Modeless, SDK Samples, User Interface, WPF | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I am back from a multi-day hike of about 70 km along the Swedish Sörmlandsleden wilderness trail. In the meantime, lots of noteworthy things happened – Revit 2019.1 update and features – Revit Add-Ins using the CEFsharp library – BIM 360 Issues API – Forge Accelerator in Rome and elsewhere – Looking for a Forge development partner – New way to retrieve a parameter id... Read more →
Posted on August 17, 2018 at 11:00 in .NET, 360, 2019, Accelerator, BIM, Data Access, Events, Forge, Parameters | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
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... Read more →
Posted on June 21, 2018 at 12:00 in 360, BIM, Climbing, Cloud, Data Access, Element Creation, Events, Forge, Getting Started, Insight360, Mobile | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I am participating in a Digital Construction Live event in the UK next week and presenting there on Forge for the BIM domain. Today, let's focus on the real message and some live samples putting it to use: – The real message – BIM collaboration roles and magnitudes – Forge for AEC Sample Live – Connecting Forge with BIM360 Sample... Read more →
Posted on June 16, 2018 at 11:00 in 360, AU, BIM, Cloud, Data Access, Events, Forge | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I am participating in a Digital Construction Live event in the UK next week and presenting there on Forge for the BIM domain. In preparation, I'll jot down some notes here on what I learned about this myself lately – Forge for AEC in Five Minutes – What do the Forge APIs do? – BIM360 – Connect the Docs – Overview – Packages – Platform and Subscriptions – Subscription Entitlements – Docs – Design – Glue – Build – Summary... Read more →
I am busy in the Revit API discussion forum.
However, you can check the discussions there yourself.
Here and now, I'll mention some different topics – oops, one of them is from there after all
– RST and the Structural Analysis SDK
– Determining the path of a recently exported file
– Driving NavisWorks programmatically via ExecuteCommand
– The Autodesk assistant Ava and the uncanny valley...
Read more →
Posted on May 30, 2018 at 11:00 in AI, Analysis, Data Access, Events, Export, RST, SDK Samples | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Exciting news from Russia and some mundane updates on other repetitive topics – Driving Revit from a modeless context via a WCF service – Room walls' directions – Retrieving all exterior walls – Getting and setting a shared parameter value... Read more →
Posted on May 14, 2018 at 11:00 in .NET, Algorithm, Data Access, Events, External, Filters, Idling, Migration, Modeless, Parameters, SDK Samples, Server, WCF | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
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
– The 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...
Read more →
Posted on April 19, 2018 at 11:00 in 2019, Accelerator, BIM, Events, Forge, Getting Started, IFC, Labs, Migration, News, RME, SDK Samples, Training, Update, Utilities | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I installed the latest Revit update, and want to highlight two of the numerous interesting ongoing Revit API forum discussions
– Revit 2018.3 update
– Avoid SetValueString
– Passing Data via ExternalEvent.Raise
...
Read more →
Posted on April 10, 2018 at 11:00 in .NET, 2018, Algorithm, Events, External, Parameters, Python, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Dragos Turmac of the Revit development team solved the Revit API discussion forum questions on contextual help not working from within a command and on F1 help for add-in only by explaining the current best practice to implement online help – Question: I'm trying to add contextual help for all commands (press F1 to go to a location). It's working fine when the tooltip is shown for my commands, but, when the add-in form is open, pressing F1 opens the Autodesk knowledge site for Revit instead... Read more →
Posted on March 13, 2018 at 11:00 in .NET, Events, External, User Interface, Win32 | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Revitalizer shared two important hints: a performance issue using ElementTransformUtils
and a problem reporting mechanism built into the TessellatedShapeBuilderResult
method GetIssuesForFaceSet
.
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...
Read more →
Notes on the questions and answers at the Revit API panel at Autodesk University in Las Vegas November 2017 – Description – Previous panels – Panel members – Learning objectives – Questions and answers – Recording and materials... Read more →
Posted on November 22, 2017 at 11:00 in AU, Events | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
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... Read more →
Posted on November 01, 2017 at 11:00 in AU, Cloud, DevCon, Events, Forge, Getting Started | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
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... Read more →
Posted on October 31, 2017 at 11:00 in Accelerator, AU, Cloud, DevCon, Events, Getting Started, Photo | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
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... Read more →
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)'... Read more →
Posted on September 13, 2017 at 11:00 in AU, DevCon, Events, Forge, Getting Started, Training | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
We are currently being flooded with questions about a topic that has already been discussed repeatedly and in depth in the past, external access to the Revit API. Possibly, the cause is the growing interest in implementing web driven solutions to generate RFA and RVT files. It is in fact possible to implement a web server driving Revit in the background to execute such tasks, as demonstrated by the old sample showing how to drive Revit through a WCF service and other examples listed in the topic group on Idling and external events for modeless access and driving Revit from outside – Revit I/O and Forge – Question – Answer... Read more →
Blogging despite having already exceeded my work quota for the week, but there is so much to share – ForgeFader user interface – RevitLookup builds – Purging types, families and materials – Retrieving all family instances in a room... Read more →
Posted on April 06, 2017 at 11:00 in Algorithm, Deletion, Element Relationships, Events, Family, Filters, Forge, Material, RevitLookup, Threejs, User Interface, Viewer | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today is the last day of the Forge accelerator, and I am still working on the ForgeFader project. The topics today are mainly related to Revit, though – Google prettifier on GitHub – WTA mechanical family placement add-in – Provision for void – What is a provision for void? – Creating a provision for void... Read more →
Posted on March 31, 2017 at 11:00 in Algorithm, Element Creation, Events, Family, Geometry, JavaScript, Modeless, Parameters, Regen, Ribbon, User Interface | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
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... Read more →