Month: November 2021

How to work with Revit’s Yes/No parameters in PropertyWizard formulas

PropertyWizard treats Revit’s Yes/No parameters as True/False boolean values. So it is easy to use Yes/No parameter values in formulas, and it’s easy to set Yes/No parameters from formulas. Using Yes/No parameter values You can use a Yes/No parameter value anywhere that is expecting a True/False data value. So you can use them: As theRead more “How to work with Revit’s Yes/No parameters in PropertyWizard formulas”

Expressions in PropertyWizard for Revit

Expressions are the building blocks of PropertyWizard formulas. They are like phrases in a language. It’s useful to understand the different kinds of expressions in PropertyWizard, so you can put them together in different ways to write better formulas. There are four main kinds of expression in PropertyWizard: Literal expressions Identifier expressions Operator expressions FunctionRead more “Expressions in PropertyWizard for Revit”

How to filter Revit elements using an if() function

A PropertyWizard formula usually affects all the elements in the category you’ve selected. But what if you only want to affect a subset of the elements? You can do this with an if() function in this form: if(<filter criteria>, <your formula>, <target parameter>) The <filter criteria> is where you choose which elements to affect, andRead more “How to filter Revit elements using an if() function”

How to use the if() function in PropertyWizard for Revit

PropertyWizard’s if() function works in the same way as the native Revit one, which is described in the online Help here: http://help.autodesk.com/view/RVT/2022/ENU/?guid=GUID-A0FA7A2C-9C1D-40F3-A808-73CD0A4A3F20 The syntax is: if(<condition>, <result-if-true>, <result-if-false>) When PropertyWizard evaluates an if() function, it starts with the <condition>. For example in this formula: if(Level.Name == “Level 0”, “It’s Level 0!”, “It’s some other Level!”)Read more “How to use the if() function in PropertyWizard for Revit”

How to fix Revit’s Filters with PropertyWizard

Revit’s ‘Filters’ feature is great for highlighting elements based on their parameters, but you are restricted in which parameters you can use. For Walls, for example, you cannot use any of these ‘Constraints’ parameters in a filter: PropertyWizard lets you overcome this restriction – because you can set up a formula to copy the valuesRead more “How to fix Revit’s Filters with PropertyWizard”