UserControls via python

hi there!

Guys, i can`t figure out how to add UserControls things through Python script?

with Lua is no problem :

Code:

myTool.UserControls = {MyInput = {INPID_InputControl = 'SliderControl',__flags = 0,LINKID_DataType = 'Number',INP_Default = 0}}


in python i try this :

Code:

myTool.UserControls['MyInput']= {'INPID_InputControl' :  'SliderControl','__flags' : 0,'LINKID_DataType' : 'Number','INP_Default'  : 0}


but no success.

help please. :splat:

No Responses to “UserControls via python”

Post a Comment