Problem passing TOP to hython via .bat file

   1156   0   0
User Avatar
Member
2 posts
Joined: April 2018
Offline
Hi there,

If I open hython and run my script through typing import myScript, everything cooks and renders fine.

I'm trying to wrap this in to a batch script, but hython just exits pretty quickly. I know that is loading my script correctly as I have a few print messages that gets output, but it closes before executing the TOP network cook. What would be different here than running by manually typing ‘import myScript’

My batch file is like this:

SET hbatchDir=“C:\Program Files\Side Effects Software\Houdini 17.5.360\bin\”
SET hipFile=“C:\Users\Desktop\myScript.py”

%hbatchDir%hython.exe -v %hipFile%

Thanks!
  • Quick Links