Parametertype with conditional values
RolandW
New Altair Community Member
Hi,
I am implementing an Operator that depends on several user defined parameters. But some of them have restrictions on their values. For example lets say we have 3 double parameters: A, B and C with 0 <= A <= B <= C < infinity. How can I specify these parameters? If I specify a ParameterTypeDouble, i can set min and max, but they are not dynamic.
Best regards,
Roland
I am implementing an Operator that depends on several user defined parameters. But some of them have restrictions on their values. For example lets say we have 3 double parameters: A, B and C with 0 <= A <= B <= C < infinity. How can I specify these parameters? If I specify a ParameterTypeDouble, i can set min and max, but they are not dynamic.
Best regards,
Roland
0
Answers
-
Hi,
you will probably have to implement a custom ParameterType, where the three parameters listen to each other and adapt their min and max accordingly. There is no ready-made parameter of this type.
Best,
Simon0