cameraLock
addCameraLock is a macroscript that will add a new rollout (by means of a Custom Attribute) to your selected camera, which allows to quickly lock/unlock all transformations of that camera, so you don't accidentally move a carefully tracked/matched/animated camera.
Since it is implemented as a custom attribute, it travels with the .max file, so you can safely send the file to others (or to render farms) without having to worry about missing plugin files etc...
This is a small script for quickly locking/unlocking your 3ds Max camera.
Install and run the macroscript once, as usual. Find the resulting action in the Customize UI dialog in the 'MB Tools' category under the name 'addCameraLock' and run it to attach a new rollout (a Custom Attribute) to the selected camera(s).
Open Modify panel and scroll to the bottom of the camera properties - there you will find a new rollout with a single button to lock/unlock the camera.
Position, rotation and scale of the cameras and their targets will be locked. This is useful if you want to prevent any accidental changes to the cameras. Unlike other scripted solutions, this will work without any additional script files, once you have applied it to a camera. So you can safely send the file to your render farm or other 3ds Max users without having to worry about missing script files.
Note: Locking a camera will not affect any existing animation.
Comments
Confirmed: If you instance a
Confirmed: If you instance a camera after cameraLock has been added, it will not work correctly, all toggle buttons will only affect the first camera.
But you can simply re-apply cameraLock to the instance; afterwards there seems to be a glitch with the display of the toggle button but pressing it will affect the correct camera.
Thank you!!
Just one thing, it doesn't work on Instanced Cams.
thanks again for all your scripts!! Use them A lot.
pretty useful
I tested this and its really nice thing !
Thank you
It works perfectly, thank you Martin for all your wonderful tools!