Donate Now Goal amount for this year: 2500 USD, Received: 1627 USD (65%)

Results 1 to 4 of 4
Like Tree2Likes
  • 1 Post By Dave Jones
  • 1 Post By Twiceroadsfool

Thread: How to control YES/NO Visibility parameter

  1. #1
    New Member
    Join Date
    March 1, 2018
    Posts
    2
    Current Local Time
    11:52 PM

    How to control YES/NO Visibility parameter

    Hi guys, it is my first post. Sorry if my English is not good enough. I will try to explain my self as best as I can.

    I am creating a new family.

    I have two YES/NO parameters A and B under visibility field.

    At the moment if I click A, A is visible, if I click B, B is visible and both are independent.

    I want B to be able to be checked only if A is already checked. Of course, B would be optional over A.

    The long version: I am creating a family, it is a table with two over shelves. I want to be visible the second overshelf (B) only if the first over shelf (A) is checked. So, in the final family, I will have three final options.
    -Table with no over shelves.
    -Table with the first over shelf (A)
    -Table with the second over shelf (B)

    I have been investigating the IF/THEM formulas, but I can really make this work. Any advice on this would be grateful.

    Kind Regards.

  2. #2
    Moderator
    "I am NOT a Revit tutor!"
    Dave Jones's Avatar
    Join Date
    December 7, 2010
    Location
    San Luis Obispo, California USA
    Posts
    4,489
    Current Local Time
    03:52 PM
    check out this thread, it may be what you are looking for
    prjpro likes this.

  3. #3
    Forum Co-Founder Twiceroadsfool's Avatar
    Join Date
    December 7, 2010
    Location
    Dallas, TX
    Posts
    10,184
    Current Local Time
    05:52 PM
    Quote Originally Posted by prjpro View Post
    Hi guys, it is my first post. Sorry if my English is not good enough. I will try to explain my self as best as I can.

    I am creating a new family.

    I have two YES/NO parameters A and B under visibility field.

    At the moment if I click A, A is visible, if I click B, B is visible and both are independent.

    I want B to be able to be checked only if A is already checked. Of course, B would be optional over A.

    The long version: I am creating a family, it is a table with two over shelves. I want to be visible the second overshelf (B) only if the first over shelf (A) is checked. So, in the final family, I will have three final options.
    -Table with no over shelves.
    -Table with the first over shelf (A)
    -Table with the second over shelf (B)

    I have been investigating the IF/THEM formulas, but I can really make this work. Any advice on this would be grateful.

    Kind Regards.
    Welcome to the forum. You might want to (in the future) post this in the actual Forum areas, instead of Out There, so more folks see it.

    Anyway, here is what you need to do:

    First Over Shelf Visible (Y/N)- This is the parameter users check the box on, and is ALSO assigned to the FIRST Over shelf.
    Second Over Shelf Visible (Y/N)- This is the parameter users check the box on. IT IS NOT assigned to the second shelf visibility.

    SecondOverShelfVisActual (Y/N)- FORMULA = and(First Over Shelf Visible, Second Over Shelf Visible)- THIS parameter gets assigned to the second over shelf's visibility. I call these parameters *Actuals* and i always put them under OTHER, and leave all the spaces out of the names, and put ACT at the end, so i can tell what they do.
    prjpro likes this.

  4. #4
    New Member
    Join Date
    March 1, 2018
    Posts
    2
    Current Local Time
    11:52 PM
    Thanks Twiceroadsfool


    I have tried your indications and it works perfectly.
    See picture just in case someone has the same problem in the future (Parameters names are slightly different):


    Just a couple of questions:

    1- Could you confirm if AND formula works like this?
    AND(<condition>,<Parameter available if condition is true>)?
    If <condition> is checked, <Parameter> will be available as an option.
    If <condition> is NOT checked, <Parameter> won't be available.

    2 - I can't really understand how your solution works. Why do we need a third parameter? Why Second Over Shelf Visible (Y/N) is NOT assigned to the second shelf visibility?
    It is not very intuitive for me, I have no knowledge of programming. It would be great if someone can help me to understand how it works. Also, any advice to point me in the right direction to learn about this topic (Formulas for beginners? ), as I can't find any post or article which explain how formulas work.

    Kind Regards
    Attached Thumbnails Attached Thumbnails How to control YES/NO Visibility parameter-revit-forum.png  
    Last edited by prjpro; March 28th, 2018 at 09:48 PM. Reason: I think it will be more useful for future users.

Similar Threads

  1. Visibility Control not working in Project
    By cellophane in forum Architecture and General Revit Questions
    Replies: 2
    Last Post: June 2nd, 2017, 02:22 PM
  2. Which is the best way to Control Visibility?
    By amarkrish108 in forum Architecture and General Revit Questions
    Replies: 4
    Last Post: December 14th, 2016, 12:28 PM
  3. Control family visibility with shared project parameter
    By Carchee in forum MEP - Family Creation
    Replies: 11
    Last Post: June 24th, 2016, 09:13 PM
  4. Control revit visibility
    By Somaya in forum Architecture and General Revit Questions
    Replies: 5
    Last Post: February 11th, 2016, 07:19 AM
  5. Text notes visibility control
    By redmonki in forum Architecture and General Revit Questions
    Replies: 2
    Last Post: March 21st, 2012, 04:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •