Search the Community
Showing results for tags 'pythonmodule'.
-
I am trying to get createModuleFromSection() in the Python module in an HDA I am developing. It can't find the module. I am less than a python noob thus struggling. I have a modified nodegraphvellumutils.py (which works perfectly) renamed as PythonSubmod.py and I want to attach it to the HDA then call it from the PythonModule. import toolutils submod = toolutils.createModuleFromSection("submod", kwargs["type"], "PythonSubmod.py") # Add network editor hooks if hou.isUIAvailable(): from submod import setSelectPosContextData, isPassThroughConnection, createEventHandler def isVellumNode(): return True test_PythonModule.hda
-
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/
-
- hda
- addsection
-
(and 2 more)
Tagged with:
-
Sup Houdini Coders, I'm pretty new to coding. Atm I'm writing my thesis about implementing a SphSolver in Houdini. Problem I have is that I cant create geometry inside a Operater Pythonmodule (hdaModule). Is there a way to modify the permission or is my workflow plain stupid? Ty for your time, regards Kellerkind PS: I pass kwargs['node'] in the callback script for testGeo(self)
- 7 replies
-
- hdamodule
- pythonmodule
-
(and 2 more)
Tagged with: