sdinozzi
11-15-2010, 01:10 AM
Hello fellow MEL'rs
I'm in the process of writing a Matte painting projection aid script for maya. So far its coming along great EXCEPT for this..
AEinvokeFitRezGate ($projCamIP + ".sizeX") ($projCamIP + ".sizeY");
AEinvokeFitRezGate is a command that is run when a user clicks the "fit to resolution gate" under the image plane node.
Everytime I run my script the first time it gives me a error saying that AEinvokeFitRezGate procedure not found. I think re-run the script and it works like a charm.
I can't find any documentation on this procedure and dont have access to the scripts directory (damn school).
http://i38.photobucket.com/albums/e148/djsteved/Untitled-1.jpg
Maybe there's a work around for this? When I load in the image, the image placement sizeX = 1, sizeY = 1. When I click fit to resolution gate, it changes sizeX to 1.417 and sizeY to .847. Any idea on how it calculates this? The renderglobals is set to 800 x 478 as well.
Any help will be awesome!
-steve
I'm in the process of writing a Matte painting projection aid script for maya. So far its coming along great EXCEPT for this..
AEinvokeFitRezGate ($projCamIP + ".sizeX") ($projCamIP + ".sizeY");
AEinvokeFitRezGate is a command that is run when a user clicks the "fit to resolution gate" under the image plane node.
Everytime I run my script the first time it gives me a error saying that AEinvokeFitRezGate procedure not found. I think re-run the script and it works like a charm.
I can't find any documentation on this procedure and dont have access to the scripts directory (damn school).
http://i38.photobucket.com/albums/e148/djsteved/Untitled-1.jpg
Maybe there's a work around for this? When I load in the image, the image placement sizeX = 1, sizeY = 1. When I click fit to resolution gate, it changes sizeX to 1.417 and sizeY to .847. Any idea on how it calculates this? The renderglobals is set to 800 x 478 as well.
Any help will be awesome!
-steve
