Errors in Daz documentation for DzFloatProperty.setValue()
From documentation:
Sets the value for this property at the current time; or the default value if this property is not animatable. This function differs from setRawValue() in that it takes into account any controllers on the property such that calling setValue( getValue() ) should not change the value of the property.
The red bold part is not true. When I have Figure in default pose, and when I use pose controler which sets rotation of bone, this code will change the rotation. It will actualy double the value.
var b = Scene.getPrimarySelection();
print(b.getLabel());
b.getZRotControl().setValue(b.getZRotControl().getValue());
And the setRawValues does not exists:
TypeError: Result of expression 'b.getZRotControl().setRawValue' [undefined] is not a function.
Comments
Thank you, this has been noted for update. In the emantime, you may want to look at http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/floatproperty_dz#a_1a0fc2616747587dce62479e97918d29a1