Monday 16 November 2015

Controlling Multiple Yes/No Parameters

When you need to control multiple Yes/No parameters in your Revit family, a nice way is to have a controlling parameter. This is the parameter where the user enters an option, which then controls the visibility of other parameters in the family.
















The only real limitation with this method of control is that you need to use numerical values. Apart from that you can make the formulas as complex as you like, or keep it simple as shown in the example above.

If the value for the controlling parameter does not correspond to any of the options then none of the tick boxes will activate.

Wednesday 4 November 2015

Formula 'Not'

When you are creating formulas in your Revit family and you have 2 visibility parameters and you want these 2 parameters to work opposite to one another, this means that when one is ticked the other isn’t and vice versa.

You could go down the path of creating elaborate ‘if’ statements to apply these conditions or you could use a simple ‘not’ statement.











If Parameter A is ticked then Parameter B will be automatically unticked.

Untick Parameter A and Parameter B is ticked automatically.

Sunday 1 November 2015

Type to Instance Parameter

When you are creating parameters in your Revit Family, here is a quick way of changing a Type parameter to an Instance Parameter. (Especially if in the Family Types dialog box the Modify button is greyed out!)
















Close the Family Types dialog box, select the dimension that is assigned to the parameters and look at the Options bar…..

There is a tick box beside the Label parameter option. This will change the parameter to an Instance. Done!