Scripts
Here are a few MAXScripts that I have written to perform various specific needs that have arisen occasionally.
Please let me know if you find any of these useful, or if you find any major bugs. They have seen limited testing outside of my own specific uses, so please remember to make backups before trying them out. The .mcr files go into the /UI/macroscripts directory, and the .bmp files go into the /UI/icons directory.
Camera Views
-- Creates a camera for the Top, Front, Left and Right views
-- Automatically sets the cameras to be Orthographic
-- Select or Delete the cameras
-- Allows the FoV for each to be set
-- Turn the cone on or off
-- Locks all the transforms of the selected objects
-- Lock just Move, Rotate or Scale
-- Lock all X, all Y or all Z
-- Can also unlock all the transforms
There are a few issues with it:
-- I haven't set it up to automatically assign the cameras to specific viewports.
-- The script will create the cameras when you click on it - so it is
designed to be used once per scene in order to get it all set up
initially. If you close the floater and open it again, it will add a
new set of cameras that will then be controllable with the floater
options, but the original set won't be.
Centre Pivot
-- Centres the Pivot Point for all selected objects
-- to their local centre
LockXForms
-- Locks all the transforms of the selected objects
-- Lock just Move, Rotate or Scale
-- Lock all X, all Y or all Z
-- Can also unlock all the transforms
Playback Speed
-- Provides easy access to change the playback speed
-- without having to open the Time Configuration
-- Settings dialog
