
Integrating WPF Windows Directly Within Classes in Revit Secondary Development
WPF is an enhanced version of WinForms. When developing with Revit for the second time, using a WPF interface not only l...

WPF is an enhanced version of WinForms. When developing with Revit for the second time, using a WPF interface not only l...

The official tutorial code for Revit secondary development is suitable for practice and functional testing, but it does ...
Here is a brief explanation of how to select a specific element from a linked file, using Space as an example.First, we ...
During development, a common issue arises when working with plugin windows. After opening the plugin window, switching t...
The address of the linked CAD file cannot be retrieved using the Lookup method, which means conventional methods are una...

Variable cross-section spiral reinforcement forms a spatial curve. In Revit, these spatial curves can be created using C...

When creating a family, it is essential to associate family parameters effectively. This process is commonly used to lin...
When running a program for an extended period, adding a progress bar is an effective way to prevent crashes. If your fea...
One advantage of non-modal windows is that they can remain in front of the main program, allowing continuous operations ...
In Revit’s API, filters are categorized as either fast or slow. Combining these two types can significantly accele...

Setting text fonts in Revit’s secondary development is relatively straightforward thanks to the available APIs. Fi...

Revit undergoes significant updates every two years, which requires supporting multiple versions during development. How...
In Revit, the user interface (UI) for a typical plugin is usually created during Revit’s startup process, utilizin...
It’s uncommon to have free time without overtime work, even just to write a few lines of code. Recently, I needed ...

=======================Correction========================= =======================Original Text=========================...

Previously, I used Dynamo to create a feature that imports drawing information into Revit. However, while applying it in...
When exporting CAD or PDF files in batches using Revit, the generated file names often include unwanted prefixes. To add...

Recently, I encountered a challenge while working with Dynamo. I needed to randomly select some fill styles for style re...
The goal is to replace graphics within exported view templates. Since view templates in Revit are also considered views,...

This example demonstrates how to use a WinForms form to collect user input. Create a simple new form as shown below: Her...