From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: Maya Python Submit
   Date: Tue, 12 Apr 2011 17:02:26 -0400
Msg# 2090
View Complete Thread (7 articles) | All Threads
Last Next
Greg Ercolano wrote:
> $ python
> Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
> [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import submit_maya
>>>> submit_maya.MAIN_Input()
> 
>     With this in mind, I'll try to redesign the script a little bit
>     so that MAIN_Input() can accept an optional dict of presets.

        OK Daniel, I've made a few small changes to the maya submit
        so that one can pass in a dict to preload the submit form, eg:

    $ python
    Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
    [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import submit_maya
    >>> submit_maya.MAIN_Input( {"Frames":"66-77"} )

	..so this would preload the Frames: field with "66-77".
	Turns out this was really easy to add.

	I can make this new script available to you if you like,
	though I'm still doing some testing ATM with the "Layers And Frames"
	I've been working on the last day or so, and am just doing final tests.

	I must admit, I'm really liking python over perl,
	no doubt about it.. a much better language for our purposes.

-- 
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