Announcements
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Formula Text Editor Window

Formula Text Editor Window

Editing formulas in Revit is dreadful. It would be nice if there were an option to have a Text Editor window for larger formulas or all formulas. Basically, a mini MS Visual Studio or Sublime Text that reads Revit Syntax. It could color-code if something is a condition vs a parameter. Highlight errors, instead of vague pop-up windows, and autosuggest parameters and condition syntax. When you click on a parameter, it would highlight where it is used in the formula, or if possible, show where it is used in other formulas in a family file.

At the very least, I would love to have a multiline editor for formulas. I currently use MS Word to write long formulas and color-code them, but it is very time-consuming.

 

Sublime Text

Screenshot 2025-08-27 113626.png

 

Current MS Word Formula Editing System

AnnabelleSwain_0-1756309084943.png

 

3 Comments
glenncai
Enthusiast

Can we have a python script editor option for editing family parameter formula? I think it would be helpful for more complex constrains.

 

AnnabelleSwain
Contributor

It does look like something like this once existed as a plug-in, but it has since been discontinued. https://apps.autodesk.com/RVT/en/Detail/Index?id=8169385629859794630&appLang=en&os=Win64

artifex-ag
Explorer

It would also be beneficial to implement IntelliSense and other IDE-like features in parameter editor dialog boxes, enabling code completion based on the list of parameters available in the current Family Type window or Schedule Properties window. The plug-in example M.L.T.E. (https://apps.autodesk.com/RVT/en/Detail/Index?id=8169385629859794630&appLang=en&os=Win64), demonstrated by @Annabelle Swain, would also be useful for packing and unpacking string-like formulas into multi-line code with proper indentation. Summarizing the ideas above, it would be helpful to implement something similar to the concept illustrated in the picture I drew:
Schedule ideas.jpg
The idea is to simplify formula editing in the Schedule Properties dialog box by adding a new tab bar called Schedule Field Formulas, where users can view all fields (parameters) and formulas, and edit them using a specialized pre-processor. This pre-processor would convert string-like code into a multi-line format with proper indentation, and support IntelliSense along with other IDE-like features. A similar enhancement in the Family Types window within Family Editor mode would also be highly beneficial.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea