Andrew Graham
Andrew Graham
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
My Talks
Recent Forum Posts
Set external script editor not working May 27, 2022, 8:44 p.m.
The solution is to add -w as a launch argument to the end of the environment variable value. This waits for the process to close which houdini requires according to support, and keeps the item loaded in a single thread.
EDITOR = "C:/Users/XXXX/AppData/Local/Programs/Microsoft VS Code/Code.exe -w"
EDITOR = "C:/Users/XXXX/AppData/Local/Programs/Microsoft VS Code/Code.exe -w"
Running pytest on UI from command line? April 20, 2022, 2:54 a.m.
I had the same question and support suggested:
houdini -foreground script.py
And if your test needs to query or manipulate the Houdini UI, then:
houdini -foreground waitforui script.py
Also, we normally set these environment variables beforehand for testing purposes:
- HOUDINI_DISABLE_CONSOLE=1
- HOUDINI_NO_SPLASH=1
- HOUDINI_DISABLE_BACKGROUND_HELP_INDEXING=1
houdini -foreground script.py
And if your test needs to query or manipulate the Houdini UI, then:
houdini -foreground waitforui script.py
Also, we normally set these environment variables beforehand for testing purposes:
- HOUDINI_DISABLE_CONSOLE=1
- HOUDINI_NO_SPLASH=1
- HOUDINI_DISABLE_BACKGROUND_HELP_INDEXING=1
Import Hou in External Python Process Dec. 3, 2021, 11:13 p.m.
Python. Interestingly it works fine on my workstation, I just can't identify the cause for why it occurs in some other systems.