active
Joined: Wed, May 21, 2008
20 Posts
|
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
|
active
Joined: Wed, May 21, 2008
20 Posts
|
You are officially my Hero! *swoon* Hey, I have this old Rubik's cube lying about, maybe you could help me out with that!
|