BUG: HIPNAME not correct in 456.cmd

   6135   4   1
User Avatar
Member
7046 posts
Joined: 7月 2005
オフライン
Hello,
If you try to use HIPNAME in the 456.cmd script, it is incorrect! 456.cmd uses whatever the previous variable was set to, not the .hip file actually being loaded!

Cheers,

Peter B
Cheers,

Peter Bowmar
____________
Houdini 20.5.262 Win 10 Py 3.11
User Avatar
Member
136 posts
Joined: 7月 2005
オフライン
same for “fps” hscript command in the 456.cmd
If 456.cmd contains “fps 25” command than hip saved with fps = 30
will be loaded with fps = 25
also note this
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=4711 [sidefx.com]
User Avatar
Member
7046 posts
Joined: 7月 2005
オフライン
Interesting… the shopvisible at least can be set with ENV variables, as can the FPS but of course, you might want to change that on a per-session basis… which means you have to write a wrapper script (which is exactly what I had to do) around “houdini” but then also “hscript” and possibly others… it gets ugly fast!

Cheers,

Peter B
Cheers,

Peter Bowmar
____________
Houdini 20.5.262 Win 10 Py 3.11
User Avatar
Member
1002 posts
Joined: 7月 2005
オフライン
I've raised a bug (20272). Thanks for the input,

Andrew
User Avatar
スタッフ
4589 posts
Joined: 7月 2005
オフライン
I put “echo $HIP\n$HIPNAME” as my 456.cmd file. When I load a hip file, the directory and name of the newly loaded hip file are shown in a message box. Is this not the behavior you get with this setup? Any idea what might be different about your 456.cmd? I tried this in the production release, 8.0.383, as well as my current baseline. Both behaved exactly the same… Any other clues on how to reproduce this? How are you opening the files?

Mark
  • Quick Links