Parametertype with conditional values

RolandW
RolandW New Altair Community Member
edited November 5 in Community Q&A
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

Answers

  • fischer
    fischer New Altair Community Member
    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,
    Simon