Options

Parametertype with conditional values

RolandWRolandW Member Posts: 8 Contributor II
edited November 2018 in Help
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
Tagged:

Answers

  • Options
    fischerfischer Member Posts: 439 Maven
    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
Sign In or Register to comment.