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/