RevitCity.com Logo

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

Welcome !

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

 

Forums

Forums >> Revit Building >> Technical Support >> Formula: Yes/No

Search this ThreadSearch this Thread | Page 1 of 1 |

Mon, Aug 24, 2009 at 5:28:52 PM | Formula: Yes/No

#1

Recit


active

Joined: Mon, Oct 30, 2006
25 Posts
No Rating


Need help! A formula perhaps: I have a situation where I have a base cabinet. The cabinet will have a RIGHT hinged door as a family type or a LEFT hinged door. For the handle I’m using a simple yes/no parameter to make the handle visible depending on which door is needed.  However, this base cabinet needs to be locked as an instance parameter as needed.  See image attached. When I check the Y/N “Lock” parameter below, I want the lock to show up correctly, Left or Right Doors. Right now I’m providing one left lock and one right lock, but both either turn on/off with the “Lock” parameter below. Any suggestions? Thanks.

Attached Images

65056_cabinet.jpg

This user is offline

 

Tue, Aug 25, 2009 at 7:03:56 AM | Formula: Yes/No

#2

WWHub


site moderator|||

Joined: Tue, May 16, 2006
13079 Posts
3.5 Stars: 395 Votes


Why didn't you just add a flipper control to make this a left/right unit and do it all one way?

 


This user is offline

 

Tue, Aug 25, 2009 at 10:34:04 AM | Formula: Yes/No

#3

Recit


active

Joined: Mon, Oct 30, 2006
25 Posts
No Rating


flipping does not work because I have to label the cabinets on plan. see picture attached. If it is right hinged or left it gets labeled on the plan. Thanks.

Attached Images

65105_cabinet2.jpg

This user is offline

 

Tue, Aug 25, 2009 at 11:53:04 AM | Formula: Yes/No

#4

WWHub


site moderator|||

Joined: Tue, May 16, 2006
13079 Posts
3.5 Stars: 395 Votes


It can work ... not just automatic...

 

But here is your fix for what U want:

y/n instance Lock

y/n type Left

y/n instance Lockleft  = (and(Lock, Left))  << this controls your left locl

y/n instance Lockright  = (and(Lock, not(Left)))  << this contols your right lock



Edited on: Tue, Aug 25, 2009 at 11:53:37 AM

This user is offline

 

Tue, Aug 25, 2009 at 12:27:24 PM | Formula: Yes/No

#5

Recit


active

Joined: Mon, Oct 30, 2006
25 Posts
No Rating


WWHub, I think your suggested formula works well. I'm testing it now. Thanks.

This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

Using schedule total in formula?

Revit Building >> Technical Support

Fri, Apr 4, 2014 at 10:29:50 AM

9

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

need help with a formula for my calculated value

Revit Building >> Technical Support

Thu, Jan 30, 2014 at 1:03:02 PM

2

Formula Help

Revit Building >> Technical Support

Thu, Aug 10, 2006 at 9:34:15 AM

1

Site Stats

Members:

2056212

Objects:

23069

Forum Posts:

152281

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.2497

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights