Driving family material by a formula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I would like to make a GM family, that updates its color depending on if a requirement is met.
The requirement is a boolean parameter called "area_suffices". It is driven by formula.
I made 2 materials in the family: Red & Blue.
I also made a material instance parameter "fam_color". I would like this parameter to be formula driven:
if area suffices: shown_color = Blue, else shown_color = Red.
If I try to do this I get a revit error: This parameter type cannot be defined by formula's.
So in generic terms, I would like the GM family to have a red color depending on a parameter value and else a different color.
Given what I would like to achieve, is this possible in Revit? Or is it out of the question? Or are there other ways to achieve this?