Donate Now Goal amount for this year: 2500 USD, Received: 1869 USD (75%)

Results 1 to 8 of 8

Thread: Greying out Yes/No visibility parameter for specific family types

  1. #1
    Member
    Join Date
    May 9, 2013
    Posts
    55
    Current Local Time
    02:10 PM

    Greying out Yes/No visibility parameter for specific family types

    Hi,
    Is there any way by which I can grey out or disable the visibility parameter tickboxes for specific family types and enable it to either turn on/off in the other types? I have tried many of those formulae but those enable me only to permanently turn on/off the parameter for different types. I just want to disable some tickboxes completely for specific family types so that the user is not able to enable a wrong part even by mistake.

    Any help is appreciated.

    Thanks in advance

  2. #2
    Moderator mark b's Avatar
    Join Date
    December 7, 2010
    Location
    NSW Australia
    Posts
    1,430
    Current Local Time
    06:40 PM
    Use at your own risk

    Edit...
    Sorry just re read your post, this solution is just "off" altogether
    Last edited by mark b; July 4th, 2013 at 07:02 AM.

  3. #3
    Moderator snowyweston's Avatar
    Join Date
    December 21, 2010
    Location
    C.LONDON
    Posts
    4,392
    Current Local Time
    09:40 AM
    You'll need to tie the Yes/No paramter to a conditional statement, which would be comprised of conditions existing in the type that limit/restrict/allow the yes/no parameter. Take a look at the "formulas for everyday use" thread and it'll all become clear.

  4. #4
    Member
    Join Date
    May 9, 2013
    Posts
    55
    Current Local Time
    02:10 PM
    Quote Originally Posted by snowyweston View Post
    You'll need to tie the Yes/No paramter to a conditional statement, which would be comprised of conditions existing in the type that limit/restrict/allow the yes/no parameter. Take a look at the "formulas for everyday use" thread and it'll all become clear.
    Ya actually I had tried giving such conditional statements but those allow me only either to turn the parameter on or off for each type. We are using these visibility parameters as instance parameters so that it works as check-box options in the project level. Using these conditional statements, the sole purpose of the visibility parameter check-boxes is destroyed as all these appeared greyed out, though either on/off. We need some parameters to be greyed out,i.e inaccessible, in specific family types and appear active as usual in the others. Hope that makes it clear.

  5. #5
    jmk
    jmk is offline
    Forum Addict jmk's Avatar
    Join Date
    December 31, 2012
    Location
    NM, USA
    Posts
    1,431
    Current Local Time
    01:40 AM
    Quote Originally Posted by sabari2504 View Post
    Ya actually I had tried giving such conditional statements but those allow me only either to turn the parameter on or off for each type. We are using these visibility parameters as instance parameters so that it works as check-box options in the project level. Using these conditional statements, the sole purpose of the visibility parameter check-boxes is destroyed as all these appeared greyed out, though either on/off. We need some parameters to be greyed out,i.e inaccessible, in specific family types and appear active as usual in the others. Hope that makes it clear.
    Revit can't do that unfortunately, at least not without some sort of API. What you can do is set up some sort of error indicator, which is only visible if a the user makes a choice that isn't appropriate for that type. What sort of family is it? What needs to be an instance parameter in some types, but not accessible in others?

  6. #6
    Member kowen1208's Avatar
    Join Date
    January 18, 2013
    Location
    Utah
    Posts
    354
    Current Local Time
    02:40 AM
    Only thing I can think of is layering it with conditions between the box they check and the feature being enabled. For example:

    Yes/No Parameters:
    Feature Available = (value set by type)
    Enable Feature = (value set by instance)
    Idiot Check = and(Enable Feature, Feature Available)

    Visibility of feature would be driven by Idiot Check.

  7. #7
    Member anthonyB's Avatar
    Join Date
    August 31, 2011
    Location
    Sydney, Australia
    Posts
    411
    Current Local Time
    06:40 PM
    It might be easier just to have two different families. Yes the downside, is that if you modify one you may well have to modify the other too. But it might be easier for your users to understand, and for you to remember the differences if they are two different families.

  8. #8
    New Member
    Join Date
    March 14, 2018
    Posts
    1
    Current Local Time
    05:10 AM

    Permanently turn on/off the parameter for different types

    Quote Originally Posted by sabari2504 View Post
    Hi,
    Is there any way by which I can grey out or disable the visibility parameter tickboxes for specific family types and enable it to either turn on/off in the other types? I have tried many of those formulae but those enable me only to permanently turn on/off the parameter for different types. I just want to disable some tickboxes completely for specific family types so that the user is not able to enable a wrong part even by mistake.

    Any help is appreciated.

    Thanks in advance

    Hi there I'm sorry for replying to an old thread, but could you please give a brief example of a formula you would use to "Permanently turn on/off a parameter for different types" like you mentioned above?
    Cheers,

Similar Threads

  1. Replies: 0
    Last Post: October 14th, 2012, 03:18 AM
  2. Revit OpEd: Family Types Dialog - Lock Parameter
    By Revit OpEd in forum Blog Feeds
    Replies: 0
    Last Post: September 28th, 2012, 02:15 AM
  3. Visibility parameter and nested family: bug?
    By jbenoit44 in forum Structure - Family Creation
    Replies: 4
    Last Post: August 30th, 2011, 03:23 PM
  4. shared parameter types
    By Randy_CaS in forum MEP - Family Creation
    Replies: 5
    Last Post: June 17th, 2011, 09:11 PM
  5. insert specific tag in family
    By ikinks in forum Architecture - Family Creation
    Replies: 4
    Last Post: May 5th, 2011, 05:33 AM

Tags for this Thread

Posting Permissions

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