[Sidefx-houdini-list] Resolving path names
sandy at sunrise.co.za
Wed Feb 5 01:42:11 EST 2014
I did think of this, but I am going to be setting up a dynamic user
set-up here,where production will populate a DB with user info - what
job/shot/department etc. they are going to be working in - then the
user login will setup the env vars so that the Software knows where it
should be in the filesystem. Planning to avoid all navigating through
folders. So this means it will be different for each user and will then
not work at all with preset variables on the farm.
I will check out your 'for now' tips as that is exactly the direction I
need to go in.
On 2014/02/04 7:17 PM, steven ong wrote:
> IMHO, it's more effective to create environment variables for shots,
> versions etc that's global to the network/farm so every machine will
> be able to resolve the path/variables properly.
> To resolve your issue in the meantime, you can create a string
> parameter for the automatically create path and add a button, when
> clicked, that will run the python command and set the evaluated path
> to the correct parameter with either opparm or hou.Node.parms()
> opparm /path/to/node parmName "yourFinalPath"
> I'm no python guru (more hscript person) so there are better ways to
> do what you want. I'm sure others will chime in.
> Hope the above helps.
>> Hello all,
>> Apologies in advance for the noob question, but we have just got
>> in to the pipeline here and I am trying to get my head around some
>> issues to submit to the render farm.
>> Our Lead lighter has setup a nice method for paths that automatically
>> fills in sections depending on shot,version, output node etc... which
>> when submitted to the farm causes some chaos.
>> I want to have a tool that resolves all paths before submitting -will
>> eventually become part of a submitter tool.
>> I have found that -
>> sspath = hou.parm('/out/main/soho_diskfile').eval()
>> print sspath
>> gives me a nice usable path - but I am struggling to find how to set
>> that back to the parm.
>> Also I would like to iterate through the scene from '/' and find all
>> paths including cache and texture paths and do the same thing.
>> Can anyone please point me in the right direction to do this?
>> Many thanks
>> Sandy Sutherland
>> CG Supervisor
>> Sunrise Productions
>> Unit B4 Westlake Square
>> Westlake 7945
>> Cape Town, South Africa
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2014.0.4259 / Virus Database: 3684/7062 - Release Date: 02/04/14
Unit B4 Westlake Square
Cape Town, South Africa
More information about the Sidefx-houdini-list