Announcements

Announcement: We’re aware of an issue affecting starting a new topic from category pages and creating new blog posts. New topics can still be started directly from the relevant board. Learn more here.

Driving family material by a formula

Driving family material by a formula

jos.noordzijXE9UB
Contributor Contributor
680 Views
2 Replies
Message 1 of 3

Driving family material by a formula

jos.noordzijXE9UB
Contributor
Contributor

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? 

 

 

0 Likes
681 Views
2 Replies
Replies (2)
Message 2 of 3

ToanDN
Consultant
Consultant

You can nest two or more families wirh different materials in one host family, and create a <family type> parameter to choose one from a drop down list.

0 Likes