Announcement

Collapse
No announcement yet.

Drop Down List Parameter

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Drop Down List Parameter

    Hi everyone

    Is it possible to create a drop down list as a family parameter? In my example, I have a grabrail which is available in three different diameters, 32, 38 and 50mm. How can I have this parameter available in these three sizes only?

    #2
    Why not just make 3 types in that family, no need for people to set the parameter, just to choose the type.
    But as far as I know if you make multiple types you will get a drop-down with the values you used in the multiple types.
    Company Website: www.deurloobm.nl
    Revit Ideas: Is this family Mirrored? | Approve warnings | Family Type parameter just those in the family

    Comment


      #3
      If its a nested family you can use a <family type> parameter, but unfortunately when setting this in the project your drop down list will be populated with every family type of that category that is available in your project.

      Would be nice to have it limited only to types available in the family. Wish list item...
      There are no stupid questions, only stupid people

      Comment


        #4
        Originally posted by Robin Deurloo View Post
        Why not just make 3 types in that family, no need for people to set the parameter, just to choose the type.
        But as far as I know, if you make multiple types you will get a drop-down with the values you used in the multiple types.
        Hi Robin

        The reason why I'm trying to avoid this is that each size of grab rail has three different configurations so I will end up with dozens of types.

        Comment


          #5
          Just did a test and it seems my idea does not work with dimensions, just with text, so you will not get a drop down list from dimensions even if you have multiple types in your family, works with text only

          You can use a set of 3 Yes/No parameters that say 32, 38 and 50 and an IF formula in the actual parameter that sets the size. This way people just have to select one of the 3 sizes and the parameter is filled in according to that selection.
          Company Website: www.deurloobm.nl
          Revit Ideas: Is this family Mirrored? | Approve warnings | Family Type parameter just those in the family

          Comment


            #6
            something like this:

            grabrail formula.jpg

            if nothing is selected it still uses the 32mm, so it will not break anything and if multiple sizes are selected it always uses the largest of the sizes selected. As far as I know it is not yet possible to always have just 1 out of 3 options selected.

            Code:
            if([50], 50 mm, (if([38], 38 mm, (if([32], 32 mm, 32 mm)))))
            Last edited by Robin Deurloo; August 7, 2017, 06:41 AM.
            Company Website: www.deurloobm.nl
            Revit Ideas: Is this family Mirrored? | Approve warnings | Family Type parameter just those in the family

            Comment


              #7
              This might be what you're after although ive never needed to do it this way

              Revit OpEd: Controlling User Choices in Families

              Edit - so ive been building some new casework families and this method works great. Makes the file slightly heavier but simpler for the user and the upside (hopefully) is less families in the project.
              Last edited by elton williams; August 15, 2017, 08:31 AM.
              There are no stupid questions, only stupid people

              Comment


                #8
                Oh Elton, I hijacked your idea and posted it on the idea section of the Autodesk forum
                https://forums.autodesk.com/t5/revit.../7281395#M9924
                Company Website: www.deurloobm.nl
                Revit Ideas: Is this family Mirrored? | Approve warnings | Family Type parameter just those in the family

                Comment


                  #9
                  Originally posted by Robin Deurloo View Post
                  Oh Elton, I hijacked your idea and posted it on the idea section of the Autodesk forum
                  https://forums.autodesk.com/t5/revit.../7281395#M9924
                  It is a good work-around. There are multiple suggestions for this on the Ideas forum, including my own. If only we found searching that site easier we could put all our votes into one suggestion rather than diluting them across a bunch.

                  Comment

                  Related Topics

                  Collapse

                  Working...
                  X