Parametertype with conditional values
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
Tagged:
0
Answers
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,
Simon