I'm currently trying to create a little tool that should be accessible from within MPlay. Therefore I created a new MainMenuMPlay.xml, added a sub menu and created a script item to call my little python script. Unfortunately MPlay doesn't seem to correctly inherit the main houdini session's environment anymore.
print(hou.getenv('HIPNAME')
The only "HIP-related" env variable that seems to work is "HIP".
print(hou.getenv('HIP')
I'm using Houdini 21.0.440 (default python 3.11). I'm pretty sure this has worked in the past, does anybody have a clue if this is a bug or if there's some workaround for this?
Any help appreciated!
Cheers
Michael
