we are developing AutoCAD addon that interact with dimensional parametric constraints.
the model behavior should change according to the parameter user drives,
for example, if user set value to parameter A , i want B and C to become reference parameters,
if user want to set value to parameter C , i want A and B to become reference parameters and so on.

i couldn't find any function like setParameterType() to switch the reference parameter to act as constraint or as reference parameter.

is there a way to switch the parameter type dynamically as the program running?