Revit Architecture

Revit Architecture

Reply
Contributor
znewkerk
Posts: 20
Registered: ‎07-18-2013
Message 1 of 5 (289 Views)
Accepted Solution

Visibility control formula? Help?

289 Views, 4 Replies
11-12-2013 09:08 AM

Hello, 

 

I'm facing a problem dealing with visibility formulas... My situation that im dealing with is, I have 2 yes/no visibility parameters, one that is called Right side clearance and another one named Left side clearance. I want to create another yes/no visibility parameter that's called Clearance. I want to link the Right and Left clearance parameter to the Clearance parameter where if it is off, then there will be nothing that shows.. But if I want it on then I would have to select either right or left without them both showing up?  I hope I explained this well enough for anyone's opinion or help.

 

Thanks

-Zach

You will not need the "Vis L" parameter since you set it up so that "Right Clearance" is in control ("Vis L" and "Left Clearance Detection" are redundant). I would suggest Grouping "Left Clearance Detection" along with "Right Clearance Detection" under Visibility - it will make it easier for a user to understand your setup if he can see both of these parameters together.

 

The left and right clearance extrusions' visibility should be linked to the parameters "Left Clearance Detection" and "Vis R", respectively. Remove "Vis L" and assign the formula below to "Left Clearance Detection":

 

= and(not(Right Clearance Detection), Clearance Detection)

*Expert Elite*
CADastrophe
Posts: 3,421
Registered: ‎08-28-2009
Message 2 of 5 (282 Views)

Re: Visibility control formula? Help?

11-12-2013 09:30 AM in reply to: znewkerk

My question: is it not acceptable that the control of the clearance be left to the Right/Left controls? If neither one is checked, then there is no clearance visible.

 

If not, then you will need to create two additional Yes/No Parameter that will be dedicated to handling Visibility:

 

Parameter Name         Formula                                                                                                                                

VisR                          = and(Clearance, Right)

VisL                           = and(Clearance, Left)

 

I typically name such parameters so that the typical user will not be confused by the presence of two "Right" checkboxes. I also Group these under another something like "Identity Data" where it is far less likely to be noticed.

Corey D.                                                                                                                  ADSK_Logo_EE_2013.png    AutoCAD 2014 User  Revit 2014 User
──────────────────────────────────────────────────────────────────────
⁞|⁞ Please use Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos as appropriate to further enhance these forums. Thank you!
Contributor
znewkerk
Posts: 20
Registered: ‎07-18-2013
Message 3 of 5 (270 Views)

Re: Visibility control formula? Help?

11-12-2013 10:01 AM in reply to: CADastrophe

Hey Corey, 

 

Im a little confused on what parameters I should be assigning the visibility to.. Here a Picture of the Left Clearance and the Right Clearance (Clear Revolve).. Below is my parameters

Clearance Hoop.PNG

Right now I have Left and Right Clearance assigned in where the red arrows appear. The Blue arrow is the parameter I want to control both but only allow to have a right or left clearance... In other words I want the end user to be able to turn on or off the clearance but when its on, only have a left or right side clearance appear with the users choice.. I added the parameters you suggested where the black arrows point to.. am I suppose to assign to them and then set up a formula off that?

 

Parameters.PNG

 

Thanks 

-Zach

 

*Expert Elite*
CADastrophe
Posts: 3,421
Registered: ‎08-28-2009
Message 4 of 5 (255 Views)

Re: Visibility control formula? Help?

11-12-2013 11:20 AM in reply to: znewkerk

You will not need the "Vis L" parameter since you set it up so that "Right Clearance" is in control ("Vis L" and "Left Clearance Detection" are redundant). I would suggest Grouping "Left Clearance Detection" along with "Right Clearance Detection" under Visibility - it will make it easier for a user to understand your setup if he can see both of these parameters together.

 

The left and right clearance extrusions' visibility should be linked to the parameters "Left Clearance Detection" and "Vis R", respectively. Remove "Vis L" and assign the formula below to "Left Clearance Detection":

 

= and(not(Right Clearance Detection), Clearance Detection)

Corey D.                                                                                                                  ADSK_Logo_EE_2013.png    AutoCAD 2014 User  Revit 2014 User
──────────────────────────────────────────────────────────────────────
⁞|⁞ Please use Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos as appropriate to further enhance these forums. Thank you!
Contributor
znewkerk
Posts: 20
Registered: ‎07-18-2013
Message 5 of 5 (240 Views)

Re: Visibility control formula? Help?

11-12-2013 12:35 PM in reply to: CADastrophe

Thank you Corey D!

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.