RevitCity.com Logo

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

Welcome !

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

 

Forums

Forums >> Revit Building >> Technical Support >> if yes/no statement controlled by if yes/no statement

Search this ThreadSearch this Thread | Page 1 of 1 |

Wed, Jul 18, 2007 at 9:44:21 AM | if yes/no statement controlled by if yes/no statement

#1

Arno


active

Joined: Tue, Dec 19, 2006
24 Posts
5 Stars: 1 Votes


Here's the deal...

I want a yes/no statement to controle a yes/no statement, so when the 1st statement is visible the other statement should be turned off.

I tried: IF(1st statement, Yes, NO) and IF(1st statement, 1, 0) without any reslut...

Is this possible or not yet..

thanks for your replie


This user is offline

 

Thu, Jul 19, 2007 at 1:01:23 AM | if yes/no statement controlled by if yes/no statement

#2

archdan


active

Joined: Wed, Nov 10, 2004
82 Posts
3.5 Stars: 2 Votes


Yes/no parameters are by definition conditional statements so your phrasing should be something to the effect of parameter 1 = NOT(parameter 2).


This user is offline

 

Fri, Jan 18, 2013 at 4:12:40 PM | if yes/no statement controlled by if yes/no statement

#3

iamian33


active
iamian33 Avatar

Joined: Tue, Nov 17, 2009
148 Posts
No Rating


RAC 2012

this is an older thread but exactly what I am trying to do ... I have a family that will place an arch for a door swing but if the door is defined as EXISTING, then the arc is replace by a straight line.

The statements I have tried are:

  1. if(Existing Door, Show Existing Door Swing, Show New Door Swing) ... or
  2. if((Existing Door),((Show Existing Door Swing) NOT(Show New door Swing)),((Show New Door Swing NOT(Show Existing door Swing))´╗┐

If you view the attached image you will see my parameters and my current attempt at the IF statement.

  • Existing Door - a shared parameter that will the the controller for this item.
  • Show Existing Door Swing - the visibility of the straight line is controlled by this project parameter
  • Show New Door Swing - the visibility of the arc is controlled by this project parameter

The error I receive refers to 'circular' errors or 'Function' errors.  I suspect that it is a simple syntaxt issue ... can someone take a look and offer a suggestion?  My goal is to have a single check box that will control the visibility of the 'existing' and 'new' graphics, and to be able to schedule the results. 

thanks in advance ...Ian



Attached Images

115127_IF_Statement.jpg

-----------------------------------

Ian Shafer

Principal Consultant

True North S&F Consultants´╗┐

This user is offline

View Website

Fri, Jan 18, 2013 at 5:06:58 PM | if yes/no statement controlled by if yes/no statement

#4

WWHub


site moderator|||

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


You have over complicated this.  I would use your phases and sub categories.

In your door family, you already have a sub category called plan swing - draw your arc swing on this.  Add a new category called existing plan swing and draw your straight line.  Now simple set the visiblity of these two lines to existing door .


This user is offline

 

Fri, Jan 18, 2013 at 5:57:14 PM | if yes/no statement controlled by if yes/no statement

#5

TKennedy


active

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


You're over complicating it. Get rid of the Show New Door Swing parameter, you don't need it. Use the Existing Door parameter to control the visibility of the existing door linework. Show New Door Swing formula, use 'not(Existing Door)'. I also like to place parameters that are not user controlled (Show New Door Swing in this case) in the Other category, it seems to keep people from trying to use them.

 

BTW, the 'circular reference' error is coming from using a parameter in its own formula.


This user is offline

 

Tue, Jan 22, 2013 at 9:42:04 PM | if yes/no statement controlled by if yes/no statement

#6

iamian33


active
iamian33 Avatar

Joined: Tue, Nov 17, 2009
148 Posts
No Rating


TK.

Thank you for your assistance.  I was able to get my family to work.  Despite your suggestion, I decided to keep the parameters I had, but your guidance for understanding the boolean operation was invaluable ... many thanks.

The shared parameter Existing Door 'drives' the process and schedules nicely.  I have attached an image of the Family Type dialogue. 

regards ...



Attached Images

115238_Door_Swing_Parameters.jpg

-----------------------------------

Ian Shafer

Principal Consultant

True North S&F Consultants´╗┐

This user is offline

View Website

Tue, Jan 22, 2013 at 10:08:26 PM | if yes/no statement controlled by if yes/no statement

#7

TKennedy


active

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


Why keep the extra existing door parameter instead of just using the one? There's nothing wrong with doing it that way (it's obviously working fine), it's just an extra parameter that you don't really need.


This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

Conditional statement

Revit Building >> Technical Support

Thu, Jun 27, 2013 at 2:58:47 PM

4

LENGTH LIMITING IF STATEMENT

Revit Building >> Technical Support

Wed, Feb 25, 2009 at 1:49:23 AM

3

Conditional Statement

Revit Building >> Technical Support

Fri, Dec 4, 2009 at 3:49:42 PM

1

if statement question

Revit Structure >> Technical Support

Tue, Feb 4, 2014 at 6:36:36 PM

3

OCCUPANT LOAD FROM CALCULATED VALUE/IF STATEMENT

Revit Building >> Technical Support

Fri, Nov 21, 2008 at 5:42:14 PM

1

Site Stats

Members:

1529784

Objects:

21317

Forum Posts:

151311

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

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights