Hi there,
is it possible to to create\change UI parameters page in custom c++ ?
thank you,
Barak
Hi there,
is it possible to to create\change UI parameters page in custom c++ ?
thank you,
Barak
Yes, this article has a little information about how to create custom parameters.
thanks ben but adding custom page option and populate it with custom paramters not seem to exist.
till now i only was able to add custom parameters.
do i miss anything ?
There’s a page member you can set and it will create the page, for example :
// speed
{
OP_NumericParameter np;
np.name = "Speed";
np.label = "Speed";
np.page = "Mypage"
np.defaultValues[0] = 1.0;
np.minSliders[0] = -10.0;
np.maxSliders[0] = 10.0;
OP_ParAppendResult res = manager->appendFloat(np);
assert(res == OP_ParAppendResult::Success);
}
Is that what you’re looking for?
We’ll add this to the help soon as well, thanks!
thanks vinz
will try it tomorrow.
( i think i asked this question 2 or 1 year ago )