PDA

View Full Version : Current Camera


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

Iconoklast
12-29-2007, 04: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`;

DualOpAmp
12-29-2007, 04:33 PM
It works, thanks.

CGTalk Moderation
12-29-2007, 04: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.