Time Range Manager
Allows you to edit and save a collection of named time ranges and access them via a dropdown list to change the scene time range based on their time settings.
Ranges are stored as a collection called sets. Multiple sets are then stored as a collection called projects.
The data is stored in INI files and so makes it independent of any maxfile.
There's also a compact option by clicking the thin bar above the ranges list.
Additional features include:
Edit scene time tags using the ranges data and transfer this data between scene time tags, loaded ranges or a text file for easy name editing. Create time tags using the interface in the format name[space]startTime[dash]endTime by typing a sequence name, dragging the time slider then clicking Start, drag again and End.
FBX Export Animations
Export animations to FBX format using either the currently loaded Ranges or Time Tags as the source for the exported animation name and time range. Both options allow for exporting either the whole scene (if nothing is selected) or by selection. The output files will be saved to the current Max scene folder.
Optionally choose some exposed FBX settings via a separate dialog.
Note: FBX will always attempt use the keys set on the selection which will override any time range you've set or specified in the time tags - as keys may exist outside of the range. For this function to work correctly, you should animate your rig indirectly by constraining the export bones to other control objects that receive animation data. This way when you select the export bones (that your mesh may be skinned to), they won't have keys directly on them and FBX will use whatever time range is set instead.
Split a composite maxfile animation (many sequences one after another) into separate maxfiles based on stored ranges or time tags. The script will remove all keys on selected objects either side of a specific range then move the remaining keys within the range to start at frame 0. The time range will then be adjusted to fit and a new maxfile saved into the same scene folder as the original composite animation file.
Note: Only tested on regular controllers, CAT rigs and Biped. The use of expressions, constraints, or parameteric controllers may not work.
Cameras in the scene will be recognized by the ranges dropdown list, based on a range name prefix matching the camera name.
The currently selected viewport will switch to the camera (if available) automatically.
Camera names - Cam1, Cam 2 and Cam3
The initial script was inspired by another script called "Frame Range Manager" written by Borislav "Bobo" Petrov.
- Added a button which opens a new dialog that exposes some optional FBX export settings.
- Exporting FBX animation now exports either the whole scene (if nothing is selected) or only the selection for both Ranges and Time Tags options.
- When switching between ranges using the dropdown list, if the range name contains a prefix that matches an existing camera in the scene then the current viewport will switch to use that camera. The prefix is denoted by the substring up to the first underscore.
- Contact email changed.
- Project and Set dialogs now move with the floater and also affect the position of the floater if they are moved.
- Added a new rollout containing functions to split combined animations based on either ranges or time tags into separate maxfiles which are named according to the range name. Keys on the selected objects will be trimmed to the range limits and moved to start at frame 0 with the time range adjusted to fit. Output animation files are saved to the same folder as the original composite scene file.
- Changed the FBX file version array to use the correct 2006 string for the parameter setting.
- Added an ASCII output option for FBX exporting.
- Added a dropdown list to choose which FBX version to use when exporting range or time tag animations.
- Added a function to export separate FBX animations based on the loaded ranges.
- Added the ability to delete scene time tags.
- Added the ability to create a time tag using the interface that's compatible with the other script functions.
- Added an Export FBX Animations option for use with Time Tags.
- Converted code to use a struct to minimize global variables.
- Minor bug fixes.
- Improved the UI a bit, see notes in script.
- UI adjustments including: widened ranges dropdownlist and allowed more items in the list, changed names for reload and delete ranges buttons, added style settings to compact version.
- Added button F which allows you to add a new range called (FULL_RANGE) with the lowest start time and highest end time calculated from the loaded ranges.
- Added a thin button above the ranges dropdown list which loads a compact dialog showing only the loaded ranges and reload button. The dialog has the same thin button which reloads the TRM floater.
- When loading ranges from scene time tags or a text file, script now handles invalid formats.
- Help button ? added to Time Tags rollout to show correct formatting.
- Fixed bug with sorting sets when scene time tags copied to ranges.
- First release
The script can be found in category “LB Tools”.
Drag the MZP file into your Max viewport.
Files will be copied to...