View Full Version : Current Camera

12 December 2007, 09:17 PM
This seems like a silly question, but does anyone know know to return the current camera in MEL?

12 December 2007, 05:53 AM
It's been awhile since I've done this, but I think this works:

string $getPanel = `getPanel -wf`;
string $camera = `modelPanel -q -camera $getPanel`;

12 December 2007, 05:33 PM
It works, thanks.

CGTalk Moderation
12 December 2007, 05:33 PM
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.