No announcement yet.

IF and visibility

  • Filter
  • Time
  • Show
Clear All
new posts

    IF and visibility

    Hello people, I am working on a window with some visibility options, I have been trying to solve this but I ran out of ideas.

    I would like to establish a statement where I can control the visibility of both the trim and the bars, if the trim is off the bars should be off as well, but if the trim is on I should be able to decide whether the bars are on or off. I have tried with IF statements but no clue how to make it work. Thanks for your help.

    Click image for larger version

Name:	Formula.JPG
Views:	1
Size:	159.7 KB
ID:	414548

    "Trim" can still be controlled directly, but you will need to add an additional "driver" parameter that controls the bar visibility based on user input (your "Bars" parameter). Example: BarVis = and(Trim, Bars)
    Chris Ellersick


      You need another visibility parameter called, say "Bars On"

      Bars On =and(Trim, Bars)

      Alex Page
      RevitWorks Ltd
      Check out our Door Factory, the door maker add-in for Revit


      Related Topics