Forums
Forums >> Revit Building >> Technical Support >> PARAMETER FORMULA HELP!!
|
|
active
Joined: Sat, Apr 11, 2009
27 Posts No Rating |
**Revit 2012**
We are trying to figure out how to write an IF/THEN formula any help would be greatly appreciated.
On a titleblock we are looking at having parameters to switch text out quickly, we have heading A - D and Blank
I would like it if Heading A is checked then B,C,D, AND BLANK, ARE OFF (UNCHECKED)
This goes for each heading and if Blank is checked then all other heading versions are OFF(UNCHECKED).
Thanks in advance!
Ryan
|
This user is offline |
|
|
|
site moderator|||
Joined: Fri, Nov 12, 2010
1749 Posts
|
I think Heading - A=not(Heading - B)not(Heading -C)not(Heading -D)
Heading - B=not(Heading -A)not(Haeding -C)not(Heading -D)
etc..
Make sure you spell everything exactly the same as you have it in you parameter names.
|
This user is offline |
View Website
|
|
active
Joined: Sat, Apr 11, 2009
27 Posts No Rating |
I tried it but it doesnt like using multiple NOT's, it wouldnt work, am i missing another annotation to seperate them?
|
This user is offline |
|
|
site moderator|||
Joined: Fri, Nov 12, 2010
1749 Posts
|
I would have to do a little more research but I was thinking:
Heading - A=not(Heading - B,Heading -C,Heading -D)
|
This user is offline |
View Website
|
|
active
Joined: Sat, Apr 11, 2009
27 Posts No Rating |
That sounds like it should work but when we enter it in it gives the below error,
"Incorrect arguments to function"
|
This user is offline |
|
|
active
Joined: Wed, Oct 7, 2009
654 Posts
|
I don't think you're going to be able to do what you want, you're going to end up with circular references. For instance, as soon as you enter the formula for Heading A, you won't have any control over Heading A. It will be controlled by the other parameters.
Having said that, if you want to play with it yourself this formula should work:
Heading A =not(or(Heading B, or(Heading C, Heading D)))
|
This user is offline |
|
|
active
Joined: Sat, Apr 11, 2009
27 Posts No Rating |
Yup thats what we were thinking we got it to work but started giving the circular ref error. Thanks a lot for the help!!
|
This user is offline |
|
|
active
Joined: Wed, Oct 7, 2009
654 Posts
|
Does the blank parameter control the visibility of anything, or was it just there to control other parameters?
|
This user is offline |
|
|
active
Joined: Sat, Apr 11, 2009
27 Posts No Rating |
The blank was there so that if we selected it THEN all others would be OFF. It didnt actually have anything associated to it
|
This user is offline |
|
|
|
Similar Threads |
One family parameter has formula one has none |
General Discussion >> Revit Project Management
|
Wed, Jun 25, 2014 at 1:05:54 PM
|
7
|
Parameter Formula |
Revit Building >> Technical Support
|
Fri, Mar 5, 2010 at 12:09:09 PM
|
6
|
Formula - IF statement |
Revit Building >> Technical Support
|
Wed, Oct 25, 2006 at 6:54:24 AM
|
0
|
Referencing a Shared Parameter in a Family parameter formula. |
General Discussion >> Revit Project Management
|
Thu, Jan 29, 2015 at 1:26:24 PM
|
4
|
Parameter names with dashes - problem with formula |
Revit Building >> Technical Support
|
Tue, Aug 31, 2010 at 10:28:39 AM
|
4
|
|
|
Site Stats
Members: | 2056530 | Objects: | 23074 | Forum Posts: | 152325 | Job Listings: | 3 |
|