Revit Family Formula Examples and Tricks

2 Feb

m=1″>family formula examples

When creating formulas in a family it is helpful to have a go to list of examples.

IF Statement
IF (Length 30′, “This thing is tall”, “This thing is short”)
If the Height parameter is greater than 30′ this parameter will return This thing is tall
If the Height parameter is less than 30′ this parameter will return This thing is short
Nested IF Statements
IF (Length < 35’, 2′ 6″ , IF (Length < 45′, 3′ , IF (Length < 55′, 5′, 8′ ) ) )
If Length is less than 35', this parameter will have a value of 2'-6"
If Length is between 35' and 45', this parameter will have a value of 3'
If Length is between 45' and 55', this parameter will have a value of 5'
If Length is greater than 55', this parameter will have a value of 8'

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: