Multiple choices in Parameters

Multiple choices in Parameters

Inerin
Contributor Contributor
4,175 Views
11 Replies
Message 1 of 12

Multiple choices in Parameters

Inerin
Contributor
Contributor

Hi, 

 

I have a door which i'm trying to make into a smarter door than what we allready have. aka. I want several types of 3D elemets such as door handles to be able to be specified within the family parameters, to then be reflected in 3D and in a schedule within the project. 

 

My problem is; I don't want a lot of Yes/no boxes. With all the options that i have (7 types og glass panels, several types of handles etc. etc.) there are going to be so many boxes I'm afraid that people may not use it as it can look complicated and be harder to use. 

It may also cause people to make mistakes aka. selecting several handle types and not seeing it. yes i can code it in so that the shared parameter which is linked to the schedule says 'Multiple handle types selected', but if I want to do this to all the options i get an extremly long and complicated integrated IF statement. 

 

The options as a solution to the problem i have could be; 

1. Is there a formula which says ' If more than one chosen from the following parameters, this statement come up' 

2. A drop down list of a specified set of options which is then linked to visibility only parameters for the 3D element ( much cleaner and prefered as it would have less yes/no boxes) 

 

BUT i have searched and searched and can't find anything on this.

 

There are two options which are fairly close but doesnt seem to work; 

-key schedule, but here I can't add shared parameters which is linked to the 3D elements within the door. 

- Nesten family, but then I get the options of all the same family types, I only want the once I have specified. 

 

Please help ! 

0 Likes
Accepted solutions (1)
4,176 Views
11 Replies
Replies (11)
Message 2 of 12

L.Maas
Mentor
Mentor

You can do something like in the attached screenshot

 

The count options formula you can write in something like notepad and then copy to Revit. Thsi better to monitor because you are not limited in space

 

I also would consider to create a type catalog, with a lot or most common combinations. Then the users do not have to check a lot of boxes. If needed they still could create a new combination by making a new type

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Message 4 of 12

Alfredo_Medina
Mentor
Mentor
Accepted solution

Instead of yes/no parameter, use nested families associated to Family Type parameters.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
0 Likes
Message 5 of 12

_Vijay
Collaborator
Collaborator

@L.Maas  Can you explain the formulas, please?

Vijayakumar
Head of BIM
Did you find this post helpful? Feel free to like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes
Message 6 of 12

martijn_pater
Advisor
Advisor

Nested If statement which returns 1 or 0 if checked or not, then checks if its 1+0+0 or 1+1+0 or 1+1+1... or some permutation of that... It could be a yesno parameter aswell I think without the nested if statement.

0 Likes
Message 7 of 12

BSchwarz_2004
Explorer
Explorer

Are you able to still use this method with more than two choices though? I use this method with if(or( statements, but can you do it with a third choice?

 

Thank you,

0 Likes
Message 8 of 12

Alfredo_Medina
Mentor
Mentor

@BSchwarz_2004 wrote:

Are you able to still use this method with more than two choices though? I use this method with if(or( statements, but can you do it with a third choice?

 

Thank you,


Yes, you can  have many choices in a Family Type parameter. I don´t know of a limit.

 

But, reading your post again, wouldn´t it be simpler to have multiple types with the proper choices already made by you instead of multiple parameters for the users?


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
0 Likes
Message 9 of 12

Sintecna_rws07
Participant
Participant

Ciao a tutti, esiste un video esplicativo di come poter creare una famiglia di questo genere?

Hi everyone, Is there an explanatory video on how to create a family of this kind?

0 Likes
Message 10 of 12

BSchwarz_2004
Explorer
Explorer

I may have misworded what I was trying to ask, I was trying to ask if there is some kind of conditional formatting statement that lets you create a formula with more than if true or false.

 

I was able to figure it out. I nested the first two family type selector options, then in the main family created a separate set of family type selector options. 

 

Long story sort of short, I'm creating a window family that has the option to be anywhere from a single window to any number of connected units. The challenge I was running into was how to drive the number of vertical dividers, I needed 3 options. Option 1 would be 0 of them in the case of a single window, Option 2 would be 1 of them, when you have a double window, Option 3 would cover any greater number of windows via an array. I ended up creating two types of the divider family within the multiple window unit family, used a family type selector parameter to cover Options 2 and 3, then loaded that into my main family that includes a single window unit and the multiple unit. I then created a family type selector parameter in that main family to choose when I wanted to see the single window vs the multiple window, this covered Option 1, when I needed no vertical dividers.

 

I can post the family once I'm done vetting it, it's actually pretty cool.

 

BSchwarz_2004_0-1695394457863.png

 

BSchwarz_2004_1-1695394509824.png

 

BSchwarz_2004_2-1695394555148.png

 

 

 

0 Likes
Message 11 of 12

BSchwarz_2004
Explorer
Explorer

I'm trying to automate these choices so the end user only has to select the number of window units, and everything else will be formula driven..

0 Likes
Message 12 of 12

Alfredo_Medina
Mentor
Mentor

OK, I´m glad to see that you found a solution, using Family Type parameters.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
0 Likes