|
|
Home | Forums |
Downloads | Gallery |
News & Articles | Resources |
Jobs | FAQ |
| Join |
Welcome !
|
152 Users Online (150 Members):
Show Users Online
- Most ever was 626 - Mon, Jan 12, 2015 at 2:00:17 PM |
Forums
Forums >> Revit Structure >> Technical Support >> if statement question
|
|
active
Joined: Tue, Feb 24, 2009
46 Posts
|
Hi all. Does anyone know if I can use a text parameter in an if statement?
test1 is my text parameter
if(test1 = "Please Work","Alright","Oh No") returns (improper use of boolean expressions)
but if I replace test1 with an integer parameter for example it works fine
test2 is my integer parameter
if(test2 = 11,"Alright","Oh No") this works fine.
What I need is if my text parameter = "what ever" my yes/no parameter gets a check.
Thanks.
|
This user is offline |
|
|
|
site moderator|||
Joined: Tue, May 16, 2006
13079 Posts
|
You need to look at your HELP: >
Conditional Statements in Formulas
You will not see any text evaluators - only text results
|
This user is offline |
|
|
active
Joined: Tue, Feb 24, 2009
46 Posts
|
So I guess that means no?
I had already looked into the help and could not find anything. That is why I refered to this forum. Lots of helpfull input when all else fails.
Thanks.
|
This user is offline |
|
|
site moderator|||
Joined: Tue, May 16, 2006
13079 Posts
|
Yes .... just like life. We are told what we can do. The list for what we can't do is way too large to list.
|
This user is offline |
|
|
|
Similar Threads |
if yes/no statement controlled by if yes/no statement |
Revit Building >> Technical Support
|
Tue, Jan 22, 2013 at 4:08:26 PM
|
6
|
Conditional statement |
Revit Building >> Technical Support
|
Thu, Jun 27, 2013 at 9:58:47 AM
|
4
|
LENGTH LIMITING IF STATEMENT |
Revit Building >> Technical Support
|
Tue, Feb 24, 2009 at 7:49:23 PM
|
3
|
Conditional Statement |
Revit Building >> Technical Support
|
Fri, Dec 4, 2009 at 9:49:42 AM
|
1
|
Yes/No paramter controlled by two different types of paramters |
Revit Systems >> Tips & Tricks
|
Thu, Mar 13, 2014 at 10:45:08 AM
|
0
|
|
|
Site Stats
Members: | 1987166 | Objects: | 22874 | Forum Posts: | 152186 | Job Listings: | 3 |
|