From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: relative output paths
   Date: Thu, 21 Mar 2013 13:44:49 -0400
Msg# 2326
View Complete Thread (2 articles) | All Threads
Last Next
On 03/21/13 08:14, Gary Jaeger wrote:
> Greg-
> 
> Is there a way to use output paths that are relative to the specified project directory when submitting? For instance:
> 
> ../souce/cg
> 
> to go up one from the project dir, then write files into source/cg

	Maya supports this.. so for instance if you specify "-rd imgs"
	at the Maya Flags: prompt, it will write images to <PROJECT_DIR>/imgs/

	Ditto for any of Maya's flags, and probably all paths within the
	Maya scene file.

	The stock submit script's "Scene Path" and "Image Directory" input fields
	do not though; the script would need some tweaking to support this.

	For instance, the script currently checks to see if "Image Directory"
	exists before submitting, and it currently does not expect a "relative"
	path; some extra code would be needed for it to see if the path is relative,
	and construct an absolute path based on the "Project" field.

	Easy to do though.

	For the "Scene Path", I'd say the same.

	One thing I /don't/ think you could get working without some new binaries
	from me would be to get the "Browse" buttons for those fields to work
	relative to the Project path.

	But that can be done, and I'd be happy to add it -- good idea!

	Meanwhile, I can help you offlist to make the needed tweaks to your
	current submit script to support relative paths in the submit form.
	Email me a copy of the script you're currently using, and I can send
	back the mods for everything except the "Browse" button initially..
	then later I can follow up with something for that as well.

-- 
Greg Ercolano, erco@(email surpressed)
Seriss Corporation
Rush Render Queue, http://seriss.com/rush/

Tel: (Tel# suppressed)ext.23
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)


Last Next