[Sidefx-houdini-list] Startup method to set frame range
antoinedurr at gmail.com
Wed Nov 20 14:06:20 EST 2013
If you're trying to set up scripts en-masse, I would put a bunch of commands into a script, and then make a shell script that basically does:
cat "hscript_setup_commands" | hscript blank_hip_file.hip
mv blank_ hip_file.hip foo123_fx_v1.hip
You can call your csh script something like "setup_hip_file.csh". The 'hscript_setup_commands' file would have something like:
frange $FS $FE
assuming that $FS and $FE are setenv'ed by the setjob command above.
Another approach is to make a main menu entry that resets the frame range. That's handy because if you inherit a file from another shot, you can easily reset the frange to what it's supposed to be. All that does is look at two env vars anyway!
On Nov 20, 2013, at 10:31 AM, Benjamin Laidlaw <ben_laidlaw at hotmail.com> wrote:
> Ok scratch that and revise...
> How about when you are setting up FX dept task and directories at the beginning of a project with a creation script, and you're creating the initial frame range based on the first edit of the project, what would be a way to set that in for the hip files.
> Thanks Antoine
>> Message: 4
>> Date: Tue, 19 Nov 2013 19:17:11 -0800
>> From: Antoine Durr <antoinedurr at gmail.com>
>> To: sidefx-houdini-list at sidefx.com
>> Subject: Re: [Sidefx-houdini-list] Startup method to set frame range
>> Message-ID: <3108BF9C-EE84-444B-97C2-B8FAD26563B5 at gmail.com>
>> Content-Type: text/plain; charset=us-ascii
>> I would advise against doing an auto-frame-range resetting. Instead, pop up a query asking if they want to reset, though even that will get annoying fast, esp. if you reset your frame range to add some at the head so that you can do preroll.
>> At various places, we actually launch houdini with a wrapper script, which really does:
>> houdini <hip_file> <startup_script>
>> that way the script is always run (Houdini launches whatever you add to the command line, one by one).
>> -- Antoine
>> On Nov 19, 2013, at 5:59 PM, Benjamin Laidlaw <ben_laidlaw at hotmail.com> wrote:
>>> What is the best way to set the frame range on a sequence of shots at startup, like with a 123.py?
>>> Say all my shots traditionally start at frame 1001 and for each shot the edit calls out the frame numbers. In the end it will shotgun/tank, and there is some built in stuff for that, but was curious about other methods too.
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list