Classify shared parameters with dynamo

Hi there,

First question :
I am injecting shared parameters (“A_COULEURS” → title / “M01” → option) in the interior doors to manage options (colors, oculus or not, etc…). I manage to put the parameters but they don’t appear in the order I want. Is there a solution to classify the parameters?

DESIRED ORDER

A_COULEURS
M01
M02
M03
M04
M05
M06
B_TYPES DE PORTE
Ame alvéolaire
Ame pleine
C_TYPES DE PAUMELLE
Charnières invisibles
Paumelles inox
D_DECORS
Line 1H_2H_1V
Line 3H_4H_2V_3V
E_OCULUS
Avec parclose inox
Avec vitrage et parclose inox

ORDER IN REVIT

image

Second question :

Is it possible to leave the options unchecked by default?

Thank you in advance for your answers.

Options portes.dyn (231.8 KB)

@yohann.heuze1 ,hi

a loadable familiy you can set the order of the parameters in the familyeditor!

regarding the default setting. you have to uncheck it manualy, i use for that schedules! thats a quick way.

if the in the default state they want appear in ifc (f.e.)

I’d like to watch this post as it is an issue where the parameters are in a “first come first serve” basis for me as well.
Will it be possible for the parameters be sorted out via alphabetical order rather than it’s elementID order?

As for question 2, you could set a formula like below for a start.
image
Click OK after that and remove it after.
That way, all your types will be in the “Off” state.

1 Like