Using a Single Parameter Value to Drive Visibility States of Many Elements in Many Family Instances

Using some Visibility parameters and a simple formula structure, you can use a Revit family to store a collection elements and then selectively show them by using a single lookup value. This allows you to drive many visibility states (programmatically) through the modification of a single instance parameter value.

In the case below, I created a Annotation family and multiple Yes/No visibility parameters, which I applied to Lines:

Then, I make a VisibilityEnum integer parameter, and set the Yes/No parameter formulas to a given integer…

Read more

Leave a Comment