How to select both cam/sun AND target at once?

Hi! I know, it’s a small one but I can’t let it go. How on earth do you select the camera (or sun light) AND their targets with just one click. When using standard max target lights and cameras you just click on the line between and they both get selected. Sometimes it’s hard to find those small targets in complex geometry and have to right click to select the target is one step to much…

Regards / Jimmy

well, not one step, but, use selection sets and it will be almost as fast as a single click.

i use my quad menu for fast selection set changes

Here is a short macro to do just that - no GUI just create a file named
“selectSunCam.ms” place it in the /Scripts/Startup folder and after you restart MAX assign a short cut to it (under Category: OneManSoft )

I will select only the first Sun and Camera with thier default names.

(if you want a better toll for selecting cameras from a list go to my page here:

and look for “Camera Location 1.2”)

Copy all the text below (between the dashed lines) and paste into notepad or macro Editor:

--------------------------------------
macroscript OMS_SelCamSun
    category:“OneManSoft”
    toolTip:“Select CamSun”

(
select $VRaySun01
selectMore $VRaySun01.target
selectMore $VRayPhysicalCamera01
selectMore $VRayPhysicalCamera01.target

)

--------------------------------------

NIR