Results 1 to 4 of 4

Thread: Yes/No Visibility Parameter with Secondary Parameter Help

  1. #1
    I could stop if I wanted to bpayne's Avatar
    Join Date
    2016-01
    Location
    Apex, NC
    Posts
    211
    Login to Give a bone
    0

    Default Yes/No Visibility Parameter with Secondary Parameter Help

    I have a wall protection generic line based family with yes/no visibilities for the handrail and crashrail. Each family type controls if either or both rails are "on". Everything is good so far.

    Now I want to add an additional parameter that turns either one off when the length of the family is reduced to less than 12" without changing the type.

    Does anyone have experience with having two parameters control the visibility of the same object.

    The logic should be: If (Length > 12" and Rail "On" then Rail "On", if not Rail "Off")

    I tried to get this to work and have failed so far.

    Thanks

  2. #2
    Certified AUGI Addict patricks's Avatar
    Join Date
    2004-06
    Location
    Memphis TN area
    Posts
    7,048
    Login to Give a bone
    0

    Default Re: Yes/No Visibility Parameter with Secondary Parameter Help

    Have your length parameter, a Rail yes/no parameter, and a 3rd parameter that actually controls the rail visibility, such as simply "r". This 3rd parameter is controlled by other two by using a formula, so I usually stick these "behind the scenes" parameters down in the Other category.

    The formula for "r" is: = not(or(not(Rail), Length < 1'))

    This makes the rail turn off if EITHER "Rail" is off, OR if the length is less than 12 inches.

  3. #3
    I could stop if I wanted to bpayne's Avatar
    Join Date
    2016-01
    Location
    Apex, NC
    Posts
    211
    Login to Give a bone
    0

    Default Re: Yes/No Visibility Parameter with Secondary Parameter Help

    Patrick's, awesome...thanks...just what I was looking for.

  4. #4
    Certified AUGI Addict patricks's Avatar
    Join Date
    2004-06
    Location
    Memphis TN area
    Posts
    7,048
    Login to Give a bone
    0

    Default Re: Yes/No Visibility Parameter with Secondary Parameter Help

    haha yeah it took me a bit of trial and error last night to figure it out. I'm always up for a good Revit challenge!

Similar Threads

  1. Add a new visibility parameter
    By Mac Demer in forum Dynamic Blocks - Technical
    Replies: 11
    Last Post: 2016-09-13, 12:48 AM
  2. Parameter Visibility
    By Wish List System in forum Revit Architecture - Wish List
    Replies: 0
    Last Post: 2012-11-13, 02:03 PM
  3. Visibility Parameter
    By scherckas in forum Revit Architecture - General
    Replies: 0
    Last Post: 2011-11-22, 02:21 PM
  4. Image Visibility Parameter
    By dalewww in forum Revit Architecture - General
    Replies: 16
    Last Post: 2008-12-12, 10:07 PM
  5. Visibility Parameter
    By asaastad in forum Revit Structure - Families
    Replies: 4
    Last Post: 2008-03-12, 01:26 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
  •