On 01/08/2015 at 17:22, xxxxxxxx wrote:
Hello,
I'm building formula spline profiles with userdata controls. Some of formulas are too complicated and after a while user may want to reset them with a reset button in userdata. I have searched and find some xpresso examples but they are slow because it's running inside xpresso constantly. So I have decided to use python (using python node already for formulas)
Default userdata values are stored in UD. Is there snippet or short script to do that inside Python Node?
If there is no way to reset to default values I might enter those values manually but my question is mostly related how to build a button inside python node that runs only for once. Checkbox would be great for users who has previous version of C4D.
And lastly if it's not possible inside Python Node I can still use as Python Tag.
(P.S. I'm a very beginner in Python)
Thanks,
Regards.