How to dynamically change the "STEP"of "REAL" tool description in c++?
-
I wanna dynamically control the "STEP"of a "REAl" description
parameter for my tool in c++.
But it is not as easy as the GeDialog in python. -
Hi @LingZA ,
To achieve this in C++ you need to set DESC_STEP parameter of the corresponding BaseContainer, e.g.
bc->SetFloat(DESC_STEP, 1.0f);
.For getting the editable BaseContainer you need to use GetParameterI() function on your description, please refer to the Description Manual.
Cheers,
Ilia