Creation of new custom Operator Type OTL/HDA using hython ?

   2141   1   1
User Avatar
Member
301 posts
Joined: 7月 2005
Offline
Hi,

Is it possible to programmatically create new Operator Type via hython instead of via the UI in Houdini ?

Any example python code to illustrate the above ?

Cheers
Nicholas Yue
User Avatar
Member
1390 posts
Joined: 7月 2005
Offline
You mean like:
parent = hou.node("/obj")
subnet = parent.createNode("subnet")
subnet.createDigitalAsset(name="myAsset", hda_file_name="./myAsset.hda", ...)

?
  • Quick Links