RevitCity.com Logo

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

Welcome !

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

 

Forums

Forums >> Revit Building >> Technical Support >> LENGTH LIMITING IF STATEMENT

Search this ThreadSearch this Thread | Page 1 of 1 |

Tue, Feb 24, 2009 at 10:46:57 PM | LENGTH LIMITING IF STATEMENT

#1

t1slc


active

Joined: Sun, Feb 25, 2007
45 Posts
No Rating


I need to be able to limit the length of a component. The maximum length I can have is 6'. Anything shorther than that and it will be fine.

So how do I create an IF statement that will prevent someone from setting a lenght value greater than 6'? 


This user is offline

 

Tue, Feb 24, 2009 at 11:09:18 PM | LENGTH LIMITING IF STATEMENT

#2

qthdad


active

Joined: Mon, Dec 10, 2007
64 Posts
5 Stars: 2 Votes


I think that you would need to have one parameter that accepts user input and another parameter that you use the IF statement in. Maybe

USER INPUT LENGTH: RequestedLength

COMPUTED LENGTH: ActualLength = IF (RequestedLength > 6', 6', RequestedLength)

 


This user is offline

 

Tue, Feb 24, 2009 at 11:32:11 PM | LENGTH LIMITING IF STATEMENT

#3

t1slc


active

Joined: Sun, Feb 25, 2007
45 Posts
No Rating


It's starting to make some sense...still can't make it do what I want though.

Here is what I want: LENTH= IF(LENGTH < 6', LENGTH,0)

I want to define what the length is, but if I enter a value greater than 6' want it to fail or give me some error that won't allow the length to be greater than 6'. Since the geometery is tied to the LENGTH parameter that is the one I want to control. However, with this IF statement it gives me a circular reference error and won't let me do it. 

Here's what I have...

A component with geometry locked to LENGTH 

I created a MAX LENGTH parameter = 6

Then another parameter LENGTH USER VALUE = IF(LENGTH < MAX LENGTH, LENGTH, 0)

This will give me the correct value in the LENGTH USER VALUE, but that isn't tied to any geometery. If I try to do something like LENGTH USER VALUE = LENGTH, I get a circular reference error.

How do I do this? 


This user is offline

 

Wed, Feb 25, 2009 at 1:49:23 AM | LENGTH LIMITING IF STATEMENT

#4

qthdad


active

Joined: Mon, Dec 10, 2007
64 Posts
5 Stars: 2 Votes


How about this?



Attached Images

53818_ControllingLengthParameter.jpg

This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

if yes/no statement controlled by if yes/no statement

Revit Building >> Technical Support

Tue, Jan 22, 2013 at 10:08:26 PM

6

line based family help (length)

Revit Structure >> Technical Support

Wed, Aug 6, 2014 at 2:15:36 PM

1

Help with a duct family -trying to prevent resizing by dragging or limiting drag

Revit Systems >> Technical Support

Fri, Dec 10, 2010 at 4:23:31 PM

7

Conditional statement

Revit Building >> Technical Support

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

4

Conditional Statement

Revit Building >> Technical Support

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

1

Site Stats

Members:

1708224

Objects:

22271

Forum Posts:

151789

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

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights