|
|
|
Home | Forums |
Downloads | Gallery |
News & Articles | Resources |
Jobs | FAQ |
| Join |
Welcome !
|
394 Users Online (11 Members):
Show Users Online
- Most ever was 3914 - Wed, Aug 26, 2026 at 4:53:14 AM |
Forums
|
Forums >> Revit Building >> Technical Support >> LENGTH LIMITING IF STATEMENT
|
|
|
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 |
|
 | |
|
|
active
Joined: Mon, Dec 10, 2007
64 Posts
 |
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 |
|
 |
|
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 |
|
 |
|
active
Joined: Mon, Dec 10, 2007
64 Posts
 |
How about this?
|
This user is offline |
|
 |
 |
Similar Threads |
|
Parameter Formula |
Revit Building >> Technical Support
|
Tue, Feb 27, 2007 at 7:12:50 PM
|
5
|
|
if yes/no statement controlled by if yes/no statement |
Revit Building >> Technical Support
|
Tue, Jan 22, 2013 at 4:08:26 PM
|
6
|
|
Minimum / Maximum Parameters |
Revit Building >> Technical Support
|
Fri, Nov 3, 2006 at 2:04:26 PM
|
1
|
|
please help |
Revit Building >> Technical Support
|
Thu, Aug 31, 2006 at 9:24:29 AM
|
1
|
|
Precast embed connections |
Revit Structure >> Technical Support
|
Wed, Jul 30, 2008 at 11:22:13 AM
|
0
|
 |
|
Site Stats
Members: | 2188039 | Objects: | 23399 | Forum Posts: | 152455 | Job Listings: | 0 |
|