Donate Now Goal amount for this year: 3000 USD, Received: 1207 USD (40%)

Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By billiam

Thread: visibility parameter

  1. #1
    New Member
    Join Date
    April 9, 2018
    Posts
    2
    Current Local Time
    04:24 AM

    visibility parameter

    Hello,

    can i control a formula by checking on the visibility from a parameter, but in a project ..
    so for example i want to change a distance from my family by checking on a parameter in a project instead of the other (normal) way..

  2. #2
    Member
    Join Date
    October 14, 2011
    Location
    Boston, MA
    Posts
    219
    Current Local Time
    09:24 PM
    Welcome!

    Yes, you can control a formula using a 'Yes/No' parameter and a conditional statement using 'IF'

    (Conditional Statements Here: https://www.revitforum.org/tutorials...day-usage.html)

    This is just one method of doing this but I like to create a few parameters for each distance value, a yes/no parameter and finally the distance parameter which will move the reference plane in your family. It gets broken down like this

    Distance1Value = 0'-0"
    Distance2Value = 6'-6"

    ToggleDistance = Y/N

    Distance = IF(ToggleDistance, Distance1Value, Distance2Value)

    This is impying that when ToggleDistance is checked, your Distance parameter will be set to 0'-0" (Distance1Value) and when unchecked, 6'-6" (Distance2Value). It is also worth mentioning that you can skip over using parameters for each value and just include the lengths in the formula, like so. IF(ToggleDistance, 0'-0",6'-6")

    You can then find the 'ToggleDistance' Parameter in the project either as Type or Instance, whichever you choose.

    things get a bit tricky if you want to use more than two values but I hope this helped!
    Last edited by billiam; April 9th, 2018 at 05:21 PM.
    Dave Jones likes this.

  3. #3
    New Member
    Join Date
    April 9, 2018
    Posts
    2
    Current Local Time
    04:24 AM
    Thank you very much billiam.. this was what i needed.

Similar Threads

  1. How to control YES/NO Visibility parameter
    By prjpro in forum Architecture - Family Creation
    Replies: 3
    Last Post: March 28th, 2018, 01:30 PM
  2. How to control YES/NO Visibility parameter
    By prjpro in forum Out There
    Replies: 2
    Last Post: March 27th, 2018, 04:52 PM
  3. Giving a Connector a Yes/No visibility Parameter
    By matfloyd2008 in forum MEP - Family Creation
    Replies: 7
    Last Post: June 5th, 2016, 02:19 AM
  4. Visibility parameter used for calculation
    By Dbark89 in forum Structure - Family Creation
    Replies: 1
    Last Post: February 10th, 2015, 11:34 PM
  5. Yes/No visibility parameter per view?
    By Dave Jones in forum Architecture and General Revit Questions
    Replies: 5
    Last Post: January 26th, 2012, 07:56 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
  •