Miroslav Šamánek

shamanek

About Me

3D environment generalist - www.shamanek.cz
EXPERTISE
Generalist
INDUSTRY
Film/TV

Connect

LOCATION
Prague, Czechia

Houdini Skills

Availability

I am currently employed at ILM

Recent Forum Posts

Hqueue Karma Error - DLL load failed while importing etree. Oct. 13, 2025, 9:21 a.m.

Hi guys, hope you are all doing great.

I'm trying to figure out what is wrong with hqueue rendering on my machine. I set it all up, and everything works except Karma rendering.
Caching geometry and also USD for Karma is all fine.

However, Karma job always returns this error:

 Accessing "C:\Program Files\Side Effects Software\Houdini 21.0.440\python311\python3.11.exe" ... 
Traceback (most recent call last):
  File "C:\Program Files\Side Effects Software\Houdini 21.0.440\houdini\scripts\hqueue\hq_karma.py", line 23, in <module>
    import hqlib
  File "C:\Program Files\Side Effects Software\Houdini 21.0.440\houdini\scripts\hqueue\hqlib.py", line 17, in <module>
    import hqrop
  File "C:\Program Files\Side Effects Software\Houdini 21.0.440/houdini/python3.11libs\hqrop.py", line 18, in <module>
    import hqueue as hq
  File "C:\Program Files\Side Effects Software\Houdini 21.0.440/houdini/python3.11libs\hqueue\__init__.py", line 2, in <module>
    from . import job
  File "C:\Program Files\Side Effects Software\Houdini 21.0.440/houdini/python3.11libs\hqueue\job.py", line 3, in <module>
    import lxml.etree as ET
ImportError: DLL load failed while importing etree: The specified module could not be found.


I've tried to put env variables with Houdini Python and Houdini instalation. But no luck. Job diagnostic information shows clearly that paths to access Python and Houdini installation are all correct. So I assume there must be a problem in the python itself.



I'm wondering if it's related to this bug fix. I wasn't able to try because every daily build available instantly crashes on my machine:



Thank you.

Select primitives with python in Scene Graph Tree in Solaris June 6, 2025, 5:56 a.m.

shamanek
Hi guys,

I am trying to use Python to select primitives in the Scene Graph Tree, but I am not successful.

According to the documentation here
https://www.sidefx.com/docs/houdini/hom/hou/LopNetwork.html [www.sidefx.com]
it looks like it should work.


However, for me, it is just selecting the root primitive and not the one specified.

I've tried two different methods, one based on the network and the other based on the viewer, but both work the same.
Can anyone help me with that, please?

import hou

#Get current network
viewer = hou.ui.paneTabOfType(hou.paneTabType.SceneViewer)
network = hou.ui.paneTabOfType(hou.paneTabType.NetworkEditor).pwd()

#OPTION 1
viewer.setCurrentSceneGraphSelection("/pig/geo")

#OPTION 2
network.setSelection("/pig/geo")

Ok, I figured it out. For anyone who will find it useful.

The function expects a list. So it needs to be like this

viewer.setCurrentSceneGraphSelection(["/pig/geo"])

Select primitives with python in Scene Graph Tree in Solaris May 21, 2025, 7:32 a.m.

Hi guys,

I am trying to use Python to select primitives in the Scene Graph Tree, but I am not successful.

According to the documentation here
https://www.sidefx.com/docs/houdini/hom/hou/LopNetwork.html [www.sidefx.com]
it looks like it should work.


However, for me, it is just selecting the root primitive and not the one specified.

I've tried two different methods, one based on the network and the other based on the viewer, but both work the same.
Can anyone help me with that, please?

import hou

#Get current network
viewer = hou.ui.paneTabOfType(hou.paneTabType.SceneViewer)
network = hou.ui.paneTabOfType(hou.paneTabType.NetworkEditor).pwd()

#OPTION 1
viewer.setCurrentSceneGraphSelection("/pig/geo")

#OPTION 2
network.setSelection("/pig/geo")