New trig function ‘atan2’ in PropertyWizard V1-8-2

PropertyWizard 1-8-2 includes an extra inverse tan function, ‘atan2’: atan2(<y-value>, <x-value>) The new function allows you to calculate the angle of a line from the line’s Y and X components (note the order of the arguments!) and it will return angle values from -π to +π radians (-180 to +180 degrees). This is more versatile […]

New trig function ‘atan2’ in PropertyWizard V1-8-2 Read More »

New text case functions in PropertyWizard V1-8-2

There are three new text case functions in PropertyWizard version 1-8-2. They allow you to change text between lower and upper case, and to capitalise the words of a piece of text. toLowercase(<text>) and toUppercase(<text>) These two functions convert text to lowercase and to uppercase respectively. They are useful when you want to enforce a

New text case functions in PropertyWizard V1-8-2 Read More »

New text extraction functions in PropertyWizard V1-8-2

There are three new text extraction functions in PropertyWizard version 1-8-2. They give you more options for extracting sub-strings from a string of text, alongside the existing substr(<text>, <index>, <count>) function. substr(<text>, <index>) This new function returns the end of the <text>, starting from character number <index>. The first character index is zero. This operates

New text extraction functions in PropertyWizard V1-8-2 Read More »

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 the

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

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 Function

Expressions in PropertyWizard for Revit Read More »