Results 1 to 3 of 3

Thread: Formula to Select 1 of 4 Options?

  1. #1
    Member
    Join Date
    2010-01
    Posts
    22
    Login to Give a bone
    0

    Question Formula to Select 1 of 4 Options?

    Hello.

    I'm trying to create a formula so the user can select 1 of the 4 visibility options I have set.


    vis1
    vis2 = not(vis1)
    vis3
    vis4 = not(vis3)

    Currently I can only togle between pairs of two using the NOT operator. This is no good.

    Does anyone know how to only be able to make "TRUE/CHECKED" only ONE of the visibliity options?

    Normal, in PHP or HTML you can use if, than, else statements but this is not working for me in Revit.



    Thanks

    Matt

  2. #2
    AUGI Addict
    Join Date
    2015-12
    Location
    Orlando, FL
    Posts
    1,049
    Login to Give a bone
    0

    Default Re: Formula to Select 1 of 4 Options?

    Quote Originally Posted by matt.fleming View Post
    Hello.

    I'm trying to create a formula so the user can select 1 of the 4 visibility options I have set.
    Please refer to this other thread:
    http://forums.augi.com/showthread.ph...90#post1100290

  3. #3
    I could stop if I wanted to
    Join Date
    2007-01
    Posts
    466
    Login to Give a bone
    0

    Default Re: Formula to Select 1 of 4 Options?

    I've never been able to do this with a calculation parameter. If you find a working solution, please do share. The only work around I've been able to find deals with nested components.

    So you make 4 different families that represent each option, and call them OPT 1.rfa OPT 2.rfa etc. Load each of those 4 into a "Shell" family.

    Then make a family type parameter for the nested families. The user will get a pull down that says OPT 1, OPT 2, OPT 3, OPT 4.


    Edit... I just looked at your link, Alfredo. I like that "See Object #" parameter. Pretty elegant.

Similar Threads

  1. 2013: How to use this Formula,"Formula That Returns Strings"?
    By mike99 in forum Revit Architecture - General
    Replies: 4
    Last Post: 2013-01-09, 06:28 AM
  2. Select All instances doesn't Paste Align to Select Views??
    By Dave F. in forum Revit Architecture - General
    Replies: 8
    Last Post: 2009-02-04, 07:23 PM
  3. "Select Objects" options
    By sinc in forum AutoCAD Tips & Tricks
    Replies: 4
    Last Post: 2006-01-30, 09:39 AM
  4. Saving Quick Select Options
    By BrenBren in forum AutoCAD Wish List
    Replies: 4
    Last Post: 2004-06-24, 05:31 PM
  5. Replies: 3
    Last Post: 2004-06-14, 06:50 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
  •