mcjSelectViewcam - one click script when your scene is full of cameras
running this script will select the current viewport camera and de-select whatever was selected
as long as the camera is not one of Studio's perspective, left/top etc...
var vmgr = MainWindow.getViewportMgr();
var vport = vmgr.getActiveViewport().get3DViewport();
var cam = vport.getCamera();
var camIsInTheScene = Scene.findNode( cam.name );
if( camIsInTheScene )
{
Scene.selectAllNodes( false )
camIsInTheScene.select( true );
}
dsa
dsa
mcjSelectViewCam20220828.dsa
314B
The Flying Love Pergola_outWEB.png
2560 x 1242 - 5M
Post edited by mCasual on
Comments
Isn't
https://sites.google.com/site/mcasualsdazscripts5/mcjselectcurrentcam
the same?