View Full Version : file -f -new with playbackOptions not working

11 November 2011, 11:16 AM
all I want to do is to open a new file by script and set its playbackOptions. Unfortunately that is not working under Maya 2012 x64 hotfix 3.
The code is simply:

file -f -new;
playbackOptions -ast 0 -aet 200 -min 20 -max 40;

If I execute it (both mel or the python version), I briefly see, after the new scene was created, the values above but then the timeline is set to the values of "-ast 1 -aet 50 -min 1 -max 25" automatically (always exactly these values). I have no clue what could cause this behaviour. I checked scriptNodes, optionVars, preferences etc. but couldn't find anything. When I execute the same code in with Maya 2012 hotfix 2 or Maya 2011 it works though!

Could someone verify this? Any ideas? If not how to fix it but maybe a workaround?


CGTalk Moderation
11 November 2011, 11:16 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.