Hi,
I am interested in editing Maya ASCII files to include MEL such that anything in the scene gets framed to fit in standard cameras.
So basically append the following at the end of maya ascii files
CODE
viewFit -all topShape;
viewFit -all frontShape;
viewFit -all sideShape;
viewFit -all perspShape;
// End of test.ma
While this works correctly with th Maya UI, but it is unpredictable the way I am doing it by editing Maya ASCII.
Maya documentation also mentions not to add MEL in maya ascii files, but I can't figure out a better way
Can someone point out a better way to do this.
I need to render snapshots of large number of scenes, so manually doing this is not a good way.
Help appreciated.
Thanks