unreal.RigControlValue() ?

I am creating a python script for ControlRig.
But I`m stuck on how to set “maximum_value” for a “unreal.RigControl”.
It takes a argument of a “RigControlValue” object.
I can create such object with unreal.RigControlValue()
But how do I actually set the value ?

Thanks.

Hi, I’m facing the same problem. Do you find any solution?

我也遇到了这个问题,可以试试这个
assert isinstance(hierarchy_modifier, unreal.ControlRigHierarchyModifier)
hierarchy_modifier.set_control_value_transform(
unreal.RigElementKey(unreal.RigElementType.CONTROL, ctrl_name),
unreal.Transform(min_translate, [0, 0, 0], [1, 1, 1]),
unreal.RigControlValueType.MINIMUM)