Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Trying to work around Instance Parameters

4 REPLIES 4
Reply
Message 1 of 5
Womack
160 Views, 4 Replies

Trying to work around Instance Parameters

I need to use an instance parameter for visibility of a portion of a nested family. I need to do calculations based upon if the item is visible or not. Is there a way to use an If statement in the instance parameter to set the value of some other Family parameter?

Possibly like if (it is visible) set other parameter equal to 1 ?
4 REPLIES 4
Message 2 of 5
Womack
in reply to: Womack

Still need help with this one.
Message 3 of 5
RevitIt
in reply to: Womack

IF (Parameter = 1, 1, 0)
Message 4 of 5
Womack
in reply to: Womack

Tried this in Revit 8.1, if(Testing = 1,1,0) got the error message, "Improper use of Boolean Expressions". Testing is an Instanced Yes/No expression. It was placed in the formula for an Interger, named Tester. Also tried if((Testing = 1),1,0) I got the same error message.
Message 5 of 5
Anonymous
in reply to: Womack

Yes/No parameter can not be compared to 1. Try the following formula instead
if( Testing, 1, 0)
When Testing is equal to Yes formula result will be 1.

wrote in message news:4942498@discussion.autodesk.com...
Tried this in Revit 8.1, if(Testing = 1,1,0) got the error message,
"Improper use of Boolean Expressions". Testing is an Instanced Yes/No
expression. It was placed in the formula for an Interger, named Tester. Also
tried if((Testing = 1),1,0) I got the same error message.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report