PARAMETER HIDE OR VALUE SET TO 0

PARAMETER HIDE OR VALUE SET TO 0

mihir_shah
Contributor Contributor
2,215 Views
4 Replies
Message 1 of 5

PARAMETER HIDE OR VALUE SET TO 0

mihir_shah
Contributor
Contributor

Good morning All,

Attached is multilayer tray support. plan to extract MTO/schedule from it.

- all parameters are shared and tray arms are hide based on visibility.

is there any way to make length of arm 0 if visibility of that ARM is set as hide.

0 Likes
Accepted solutions (1)
2,216 Views
4 Replies
Replies (4)
Message 2 of 5

HermanSolomon
Advocate
Advocate

Hi mihir_shah,

 

Nice family 🙂 Yes, there is a way to control the Arm visibility. If you add the following formula into the 1-left_from_Bottom Formula Column, The arm length can be controlled. An explanation of the formula would be: if([1st from base] <IS ON>, Length=1200, <IS OFF><Length=0>)

 

001.PNG

http://revitrecess.blogspot.com/
Message 3 of 5

mihir_shah
Contributor
Contributor

thx a lot.

 

one more help.

 

in place of 1200 constant is it possible to get instance parameter length from property bar.

0 Likes
Message 4 of 5

HermanSolomon
Advocate
Advocate
Accepted solution

Yes it is possible. However, the first thing you will need to do, is to change your parameter naming convention. Adding the text "1-Left" as a parameter name will cause Revit to see the dash as a minus sign, when used in a formula.

 

In the image below I have replaced the dash with an underscore. I have also created a driving parameter called 1_Left User Dimension. This parameter will drive the 1_Left From Bottom parameter.  

 

The results can be seen below.

002.PNG

http://revitrecess.blogspot.com/
Message 5 of 5

mihir_shah
Contributor
Contributor

thx once again

 

yes I did it and it is coming perfect...

 

cheers

0 Likes