RevitCity.com Logo

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

Welcome !

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

 

Forums

Forums >> Revit Building >> Technical Support >> IF ( AND ( ) ) logic with multiple Yes/No paramters

Search this ThreadSearch this Thread | Page 1 of 1 |

Tue, Aug 17, 2010 at 11:38:26 AM | IF ( AND ( ) ) logic with multiple Yes/No paramters

#1

Kobbs


active
Kobbs Avatar

Joined: Wed, May 21, 2008
20 Posts
5 Stars: 1 Votes


Okay, I've read through pretty much all the topics here regarding logic, logic operators, syntax etc. Massively helpful, but I now have a problem that I can't quite solve.

 

I'm sure it must be possible, and suspect that I'm just typing some part of the logical expression incorrectly.

 

I am making a room tag that reports 4 pieces of information, the room name, occupancy, area and space use. Making the tag is no problem. I also want to be able to control the visibility of the occupancy, area and space use labels. This is also easily done with a simple visibility yes/no parameter.

 

The problem I have is that if for example I didn't need the occupancy label to be displayed, I don't want a blank line where that label has been turned off. I want the other two labels to 'move up' to fill the space. For this reason I have created duplicate labels, which in theory will sit on top of each other, and only become visible when certain conditions are met.

 

Take a look at the screenshot, I have moved the duplicate labels across to the right for clarity, but the labels in each row would normally all be on top of themselves. What I am trying to do for instance, is that if the visibility of the Occupancy label was turned off, but Area and Space Use still needed to be seen, then the Area 2 and Space Use 2 labels would turn on, and the others would turn off. 

 

In effect the logical statement for the visibility of the above (in my head!) would be IF 'Occupancy' = NO, 'Area 2' = YES AND 'Space Use 2' = YES.

 

I'm sure I'm supposed to be using the IF ( AND (....... , ........) ... , ... ) statement, but can't seem to find a way to express the above in a way that Revit understands.

 

EDIT: In case it makes any difference, I'm using Revit Arch 2010. Thanks guys!



Edited on: Tue, Aug 17, 2010 at 11:40:57 AM

Attached Images

80670_Tag_family_logic_problem.jpg

This user is offline

View Website

Tue, Aug 17, 2010 at 4:23:51 PM | IF ( AND ( ) ) logic with multiple Yes/No paramters

#2

TKennedy


active

Joined: Wed, Oct 7, 2009
654 Posts
4 Stars: 7 Votes


Ok, I think I got something working. I can't really explain, but if you open up the attached family you should be able to reverse engineer it.

Attached Files

This user is offline

 

Wed, Aug 18, 2010 at 6:43:16 AM | IF ( AND ( ) ) logic with multiple Yes/No paramters

#3

Kobbs


active
Kobbs Avatar

Joined: Wed, May 21, 2008
20 Posts
5 Stars: 1 Votes


You are officially my Hero!

*swoon*

Hey, I have this old Rubik's cube lying about, maybe you could help me out with that!


This user is offline

View Website

Tue, Feb 8, 2011 at 10:39:35 AM | IF ( AND ( ) ) logic with multiple Yes/No paramters

#4

emgeeo


active

Joined: Wed, Mar 12, 2008
322 Posts
3.5 Stars: 7 Votes


Thank you for that fine example of Yes/No logic statement writing.

This user is offline

 

Thu, Sep 22, 2016 at 4:15:48 AM | IF ( AND ( ) ) logic with multiple Yes/No paramters

#5

mhkashfi


active

Joined: Fri, Nov 16, 2012
0 Posts
No Rating


Thank you TKennedy!!!


This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

Windows showing up gray in consistent colors view.

Revit Building >> Technical Support

Thu, Feb 13, 2014 at 9:20:21 AM

0

Parametric Void within a Solid

Revit Building >> Technical Support

Fri, Aug 27, 2010 at 10:24:07 AM

0

Multiple project north[s]

Revit Building >> Technical Support

Fri, Apr 15, 2016 at 3:15:11 PM

11

Grouping multiple families types with multiple options

Revit Building >> Technical Support

Mon, Jun 11, 2012 at 3:50:19 PM

6

Multiple Levels..Many Multiple levels..

Revit Building >> Tips & Tricks

Fri, Jan 21, 2005 at 7:06:26 PM

5

Site Stats

Members:

1977009

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

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights