Jump to content
Sign in to follow this  
Morrorz

Can addSection"PythonModule" sop null

Recommended Posts

Posted (edited)

Can i addSection("PythonModule") sop null

How i create "PythonModule" in sop null or sop geo with python

 

georoot = "/obj"

geo = hou.node(georoot).createNode("null" , "test")

pm_section =geo.type().definition().addSection("PythonModule")

pm_section.setContents("your_python_module_contents")

 

 

But : hda worked

myref : https://www.sidefx.com/forum/topic/61047/

 

 

 

Edited by Morrorz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×