Regrow Hair from Python code?? [SOLVED]
-
On 17/03/2016 at 02:05, xxxxxxxx wrote:
Hi, is there a way to re-root, regrow hair object from python script?
like press this butons -
On 17/03/2016 at 03:21, xxxxxxxx wrote:
Hello and welcome,
you can press a button of any BaseList2D based element with CallButton(). You can find the symbols of parameters (and buttons) in the corresponding header or resource file (in this case ohair.res ) or in the C++ documentation.
if op.IsInstanceOf(c4d.Ohair) == False: return c4d.CallButton(op, c4d.HAIRSTYLE_STATE_RESET) c4d.EventAdd()
Best wishes,
Sebastian -
On 17/03/2016 at 03:43, xxxxxxxx wrote:
O thank you for a quick answer. Its a realy easy way:))