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 →
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 →
Exciting news around debugging and loading add-ins and adding formulas and scripting support to your own apps – Open source Add-In Manager – FormulaManager and scripting support – Happy New Year of the Tiger 虎... Read more →
Posted on January 26, 2022 at 11:00 in .NET, Debugging, Getting Started, Macro, VB, WPF | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Off we go into a new adventurous year of BIM programming – Happy New Year – RevitExtensions... Read more →
Notes on FormIt and its JavaScript API, the new automatically generated RevitLookup MSI installer asset, transformations and quaternions – FormIt API and geographical context – RevitLookup MSI installer asset – Transform and quaternions... Read more →
Posted on November 19, 2021 at 11:00 in .NET, Geometry, Git, Installation, JavaScript, Plugin, RevitLookup | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Important news coming for structural developers, further development in RevitLookup, notes on extensible storage and JavaScript
– New Analytical Model API
– Praise for modeless RevitLookup
– Benchmarking generic Any
versus Count
– Escape RevitLookup
– Use extensible storage carefully
– jQuery is widespread but outdated...
Read more →
Posted on November 11, 2021 at 11:00 in .NET, 2022, JavaScript, Modeless, RevitLookup, RST, Storage | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Breaking news from the Revit development team on the WallCrossSection
to WallCrossSectionDefinition
renaming in the Revit 2022.1 API update...
Read more →
Exciting news with a lot of changes to RevitLookup and The Building Coder samples
– Revit 2022.1 SDK released
– WallCrossSection
vs. WallCrossSectionDefinition
– RevitLookup build and install
– Bye-bye lookup builds
– The Building Coder samples revamped
– Copy as HTML update
– Image cleanup and a robot arm...
Read more →
Posted on November 02, 2021 at 11:00 in .NET, 2022, Deployment, Installation, Migration, RevitLookup, SDK Samples, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Three quick notes on critical and inspiring sci-fi, programming languages and MEP filtering – Pipe insulation retrieval performance – Programming languages to learn – Agency by William Gibson... Read more →
Posted on October 14, 2021 at 11:00 in .NET, AI, Algorithm, F#, Getting Started, Performance, Philosophy, Python, RME | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, I highlight our new local language Forge classes and the renewed ability to easily edit and continue while debugging a Revit add-in – Non-mobile after computer crash – Local language Forge classes – Apply code changes debugging Revit add-in... Read more →
Posted on October 01, 2021 at 11:00 in .NET, Accelerator, AU, Debugging, Forge, Getting Started, Hackathon, Mac | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
A neat RevitLookup enhancement, powerful new Revit add-in template, and a couple of Python related topics
– RevitLookup handles PartUtils
– Nice3point Revit add-in C# template
– IronPython hosting in C# add-in
– Python 3, CPython, pyRevit and Dynamo...
Read more →
Posted on September 24, 2021 at 11:00 in .NET, Deployment, Dynamo, Installation, Python, RevitLookup, Wizard | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Two useful community contributions and some thoughts on global warming – Nina for Revit – The BIMdev VS extension – The Economist on climate change – We are the weather... Read more →
An invitation to the upcoming AEC collaboration webinar and overviews over dockable panels, dialogue handling, decompilation and railing geometry
– AEC collaboration webinar
– Dockable panels and WebView2
– Dismissing Revit pop-ups
– Check API changes using decompilation
– Railing geometry...
Read more →
Posted on July 14, 2021 at 11:00 in .NET, 360, BIM, Geometry, Getting Started, User Interface, Win32 | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Here are a couple of the interesting topics that came up in the last couple of days
– Numerous RevitLookup enhancements
– Revit API Labs training material 2022
– Visual Studio Revit add-in templates 2022
– The SetGeometryCurve overrideJoins
argument
– Exploring assembly reference DLL hell with Fuslogvw...
Read more →
Posted on May 20, 2021 at 11:00 in .NET, 2022, Debugging, Geometry, Getting Started, Labs, Migration, RevitLookup, SDK Samples, Training, Update, Wizard | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Revit 2022 has been released.
Two important features are parameter API enhancements and built-in PDF export functionality
– Replace deprecated ParameterType
with ForgeTypeId
– Multi-target 2021 and 2022 using MSBuild
– PDF export default paper format can fail
– PDF export output file naming
– Five beginner mistakes...
Read more →
Today, let's look at two Japanese Forge questions, on model groups and the Revit engine language, another RevitLookup enhancement, and, while we're talking about languages, a surprising scientific discovery on naked mole-rat dialects
– Retrieving Revit model group in Forge
– Specifying the Revit UI language in DA4R
– RevitLookup supports ScheduleDefinition
GetField
– Naked mole-rats speak in community dialects
– Van Gogh 360...
Read more →
Posted on February 11, 2021 at 11:00 in .NET, 360, DA4R, Data Access, Forge, Group, I18n, JavaScript, RevitLookup, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Birthday in the past, DevDays in the future, and running a Revit command in the present moment
– Happy Birthday, Autodesk!
– DevDays online 2021
– For everyone
– For ADN members
– PostCommand
+ SendKeys
– SVG tutorial...
Read more →
Posted on February 05, 2021 at 11:00 in .NET, Automation, DevDays, Forge, Getting Started, SVG, Training, Win32 | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, we discuss cores, splinters and data – Using .NET 5 and Core – Controlling face triangulation LOD – SQL versus NoSQL... Read more →
An especially interesting Forge accelerator is coming up, and how to handle Revit add-in language resources – Upcoming Forge accelerators – AEC focused Forge accelerator Waldspirale – Internationalisation using .NET language resources... Read more →
Posted on January 19, 2021 at 11:00 in .NET, 360, Accelerator, Architecture, AU, BIM, Cloud, Forge, Getting Started, I18n | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Philipp Mueller highlights a set of BIM360 user management scripts and Diego Rossi shares two useful GitHub repositories – BIM360 user management scripts – External application with Prism goodies – Revit add-in dotnet template... Read more →
You should always keep things simple (I think).
The opposite can lead to racking your brain.
In one case at least, that can easily be avoided by using a using
statement
– Avoid brain racking by using using
– On the VS operation unspecified error
– Native sons...
Read more →
Posted on October 12, 2020 at 11:00 in .NET, Debugging, Music, Philosophy, Transaction | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
A few interesting threads from the Revit API discussion forum and AI news – Revit add-in code signing YAML – Preview control rotates model – Element type predicates – AI ethics... Read more →
Posted on September 01, 2020 at 11:00 in .NET, AI, Filters, Installation, Security, Settings, User Interface | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Cool topics to wrap up this hot and exciting week – Are you using the derived analytical model? – Pick room in current project or linked model – Determine whether custom export was cancelled – Multi-threading with the single-threaded Revit API – Beginner’s guide to abstraction... Read more →
Lots of exciting items to share – No cost for Autodesk University 2020 – AU voting suggestion – Modeless Revit add-ins – Virtual AEC and BIM360 hackathon – Do not print by category – Using the new unit API to display length of multiple lines – Job opening in Developer Advocacy and Support – Intro to synchronous versus async programming... Read more →
I begin this week with a rather mixed bag of interesting issues from the last – Get MEP duct shape update – Determining differences between DLL versions – BipChecker facelift – Fonts with '@' prefix... Read more →
Posted on June 22, 2020 at 11:00 in .NET, Data Access, Debugging, Parameters, Settings, Update, User Interface, WPF | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, let's address a couple of quick questions and share a useful utility – How to determine Revit export image coordinates – Problems compiling and installing the Revit SDK samples – RvtVerFileOpen utility opens correct RVT file version – Angular and react tutorials – Give and take... Read more →
Posted on May 29, 2020 at 11:00 in .NET, Algorithm, Export, External, Geometry, Getting Started, Open Source, Philosophy, SDK Samples, Utilities | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I hope you are happy and healthy and enjoyed your Easter eggs! During the holiday, I updated RevitLookup for Revit 2021, and Harry Mattison added his multi-release building enhancements into the main solution as well – Revit 2021 add-ins require .NET 4.8 – RevitLookup flat migration to Revit 2021 – Support for multi-release building... Read more →
Posted on April 14, 2020 at 11:00 in .NET, 2021, Deployment, Installation, Migration, RevitLookup, Settings, 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
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... Read more →
Posted on February 11, 2020 at 11:00 in .NET, AppStore, Clipper, Geometry, Getting Started, Macro, Material | 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 →
Quick notes on two recent interesting Revit API discussion forum threads
– Unit testing
– UsesInstanceGeometry
IFC utility method...
Read more →
I successfully made it from Switzerland to Paris and the Forge accelerator in spite of the French strikes. My only worry is how to get back again tomorrow. Again, the train I have booked has been cancelled. Meanwhile, let's take a look at – DA4R room support and new samples – Effective filtered element collection... Read more →
Posted on December 10, 2019 at 11:00 in .NET, Accelerator, Algorithm, DA4R, Element Relationships, Filters, Forge, Performance | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Family symbols, aka family types, should normally be relied on to be constant. However, since families and types can actually be edited at will, they are sometimes not. Hence, the need to check and compare may arise... Read more →
Posted on December 09, 2019 at 11:00 in .NET, Content, Family | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today is my birthday, so I am trying hard to work less. Very kindly, Alexander Ignatovich provided a gift for the day in the form of a new external command CmdElectricalLoad in The Building Coder samples. showing how to retrieve the value of the `Load` column in the electrical system browser for a specific fixture family instance... Read more →
Posted on November 26, 2019 at 11:00 in .NET, Data Access, Parameters, RME | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
This is The Building Coder post number 1800, in its eleventh year of existence. We celebrate by highlighting the integration of a 3D geometry and model viewer in a Revit add-in with a solution making use of several interesting techniques, including the use of IPC for add-in disentanglement from third-party library dependencies and a new custom exporter implementation for OBJ. This issue was raised in two discussions, on a plug-in that displays Revit's 3D window content and using a geometry viewer in a Revit add-in to preview results... Read more →
Today I highlight the following topics – I caved in to smartphone – Handling third party library DLL conflicts – Replicating schedule sort order... Read more →
Posted on November 19, 2019 at 11:00 in .NET, Algorithm, Debugging, External, Installation, News, Schedule | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Today, we highlight two contributions by Håvard Leding and Oliver Green – 2D Boolean interactive real-time sketch viewer – Single-click automated PDF report via InDesign – Abbreviated table of technical contents... Read more →
Posted on November 07, 2019 at 11:00 in .NET, AU, COM, Geometry, Getting Started, Utilities | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
A small enhancement to the Visual Studio Revit Add-in Template, and another interesting little AI surprise – Template tags for Visual Studio 2019 – My wizard works again – OpenAI plays hide and seek and breaks the game... Read more →
A new Revit add-in unit testing framework, a short note on support assembly locations, and an article on importing PDF files
– Revit.TestRunner
runs unit tests in Revit
– Getting started with TestRunner
– Unconfusing support assemblies
– Importing PDFs made easy...
Read more →
Posted on October 08, 2019 at 11:00 in .NET, 2020, Debugging, Docs, Installation, Utilities | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
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... Read more →
Posted on October 07, 2019 at 11:00 in .NET, AI, Deep Learning, Docs, Getting Started, Music, Philosophy | 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 →
An important Revit add-in requirement regarding Transport Layer Security (TLS) settings, a short note on accessing PDF image data from an import instance, and an update of the Collada DAE custom exporter for use in Revit 2020 – Required Transport Layer Security (TLS) settings – Accessing imported PDF image data in Revit – Custom Collada exporter updated and fixed... Read more →
Posted on September 06, 2019 at 11:00 in .NET, Data Access, Export, External, Migration, Settings, Update | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Here are some topics that came up last week – Dynamo Zero Touch Node Revit element wrapper – Loading a .NET assembly from a memory stream – How to become a successful freelancer – Talking about memory streams, I hiked up Rio Chillar in Nerja, Andalusia... Read more →
Posted on August 19, 2019 at 11:00 in .NET, Dynamo, Philosophy | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
I am back from my break and picked up the question about creating dimensions for a filled region boundary – Programmatically creating dimensions for a filled region – Coding suggestion – Final solution... Read more →
Posted on August 05, 2019 at 11:00 in .NET, Data Access, Dimensioning, Element Creation, Geometry | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API
Topics for this week – Revit public roadmap July 2019 – Rebar curves – Built-in zip utility for add-in wizard – Only detail section views can be used for top view direction – Displaying an RFA family instance in DA4R – Revit 2020 alters the TEMP file system variable – Lattice multiplication... Read more →
Yesterday, I implemented a new add-in, RoomVolumeDirectShape, that creates DirectShape
elements representing the volumes of all the rooms
– Request to display room volumes in Forge SVF file
– RoomVolumeDirectShape functionality
– Retrieving all element properties
– Converting a .NET dictionary to JSON
– Generating DirectShape
from ClosedShell
– Complete external command class Execute
method
– Sample model and results
– Challenges encountered underway
– Cherry BIM Services
– On the value of the "Loss Method" property
– AI-generated talking head models...
Read more →
The open source space around the Revit API is continuously growing richer, solutions are shared and exciting discoveries are made, both in the Revit API discussion forum and elsewhere – Debugging, code signing and HOK Mission Control – Creating connectors on a reference line... Read more →
Today, let's present a benchmark monitoring filtered element collector performance. First, however, a quick note on a very useful Forge learning resource – Forge learning resource – Filtered element collector benchmark... Read more →
Posted on May 16, 2019 at 11:00 in .NET, DA4R, Filters, Forge, Performance, Win32 | Permalink | 0 Comments
Tags: akn_include, Jeremy Tammik, Revit API