RevitCity.com Logo

Home  |  Forums  |  Downloads  |  Gallery  |  News & Articles  |  Resources  |  Jobs  |  FAQ  |  SearchSearch  |  Join  |  LoginLogin

Welcome !

43 Users Online (42 Members): Show Users Online - Most ever was 626 - Mon, Jan 12, 2015 at 2:00:17 PM

 

Forums

Forums >> Revit Building >> Technical Support >> Setting conditional parameters with formulas

Search this ThreadSearch this Thread | Page 1 of 1 |

Mon, Oct 2, 2017 at 6:15:41 PM | Setting conditional parameters with formulas

#1

Mirmingi


active

Joined: Mon, Oct 2, 2017
0 Posts
No Rating


I've been using Revit for a while but have been asked to dig deeper into learning to work with formulas, as the guy who used to do this recently left. 

 

I currently have a symbol that has 6 parameters, but only the first 2 will be changeable (on/off) by the user.

 

Flip Left Right

Flip Up Down 

 

 

Left Arrow Up

Left Arrow Down

Right Arrow Up

Right Arrow Down

 

 

The last four parameters control the graphics and have been placed in the "Other" category. I want only one of the four arrows visible at a time.

 

What I want to do now is, if someone toggles Flip Left Right, the arrow will appear either on the left or the right of the symbol in the family. If someone toggles Flip Up Down, it will toggle the arrow pointing up or pointing down. 

 

As of right now, I've gotten the arrows to appear either on the left or on the right by using the Flip Left Right toggle, but I keep coming to a road block. The current formula's I'm using are:

 

Left Arrow Up = not(Flip Left Right)

Left Arrow Down = Left Arrow Up

Right Arrow Up = and(Flip Left Right, not(and(Flip Up Down, Left Arrow Up)))

Right Arrow Down = not(or(Left Arrow Down, Left Arrow Up))

 

If anyone can figure this out I'd love to reverse engineer the formula used, I attached the family I'm working on as well, it's in Revit 2015.

 

 

 

Edit: managed to figure out after getting some sleep! Formulas used:

 

not(or(Flip Left Right, Left Arrow Down))

and(Flip Up Down, not(Flip Left Right))

and(Flip Left Right, not(Flip Up Down))

and(Flip Left Right, Flip Up Down)

Edited on: Tue, Oct 3, 2017 at 8:52:28 AM



Edited on: Tue, Oct 3, 2017 at 8:53:02 AM

Attached Files

This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

String Values in Formulas

Revit Building >> Technical Support

Wed, Dec 4, 2013 at 10:38:12 PM

7

to import shared parameters with formulas.

Workflow & Implementation >> API & Third Party Apps

Fri, Jun 20, 2014 at 7:19:05 AM

0

conditional formatting yes no parameters

Revit Systems >> Technical Support

Tue, Oct 28, 2008 at 9:58:54 AM

4

Conditional Parameters Setting In Revit

General Discussion >> Revit Project Management

Tue, Jun 26, 2018 at 7:25:52 AM

2

Conditional Statements in Formulas

Revit Building >> Technical Support

Wed, Jun 21, 2017 at 3:50:17 AM

2

Site Stats

Members:

1977356

Objects:

22860

Forum Posts:

152166

Job Listings:

3

Sponsored Ads

Home | Forums | Downloads | Gallery | News & Articles | Resources | Jobs | Search | Advertise | About RevitCity.com | Link To Us | Site Map | Member List | Firm List | Contact Us

Copyright 2003-2010 Pierced Media LC, a design company. All Rights Reserved.

Page generation time: 0.6199

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights