Hi you all MEL masters, I owuld have a question for you.
I am making a procedure to create extra ortographic cam and I would like to know if I can call a flag of a command with a variable:
global proc createOrtographicCam (string $camName)
{
string $newCam[] = camera -n $camName;
viewSet -camName $newCam[0];
}
proc createOrtographicCam bottom
proc createOrtographicCam right
proc createOrtographicCam back
...and so on
In this way I would be able to can call the procedure passing the argument BOTTOM or LEFT or BACK ecc and make this argument combine with the view set command generating the proper flag.
The core of the problem is basically use the content of a variable to creat a flag for a command. Is that doable and if yes, how?
Thanks for your kind answers.
Cheers
Francesco