The Track View window functions are in a structure package named trackView.
These functions operate on named Track Views, and in many cases you identify the Track View window by this name.
Opens an existing Track View with the specified name, or creates a new Track View with specified name. Returns the value True.
Zoom the named Track View on the currently selected object.
The World track must be expanded for this function to operate.
The Object track will automatically be expanded if is closed.
The hierarchy display is scrolled such that the selected object’s track is placed at the top of the window.
If multiple objects are selected, the first object in the hierarchy that is selected will be placed at the top of the window.
If there are no selected objects, no operation occurs.
This method will return True, except when the named Track View does not exist or is not open, when it returns False.
This method will return True, except when the named Track View does not exist or is not open, when it returns False.
See separate topic: Track View Pick Dialog for details.
Returns the number of named Track Views defined
Returns the name of the indexed Track View as a String.
trackView.setFilter "name_string" {<filter_flag_name>} [#noRedraw] trackView.clearFilter "name_string" {<filter_flag_name>} [#noRedraw] trackview.testFilter {filter_flag_name}
These methods allow you to set, clear, and test display filters flags to control what is visible in a named Track View.
The first two methods will return True, except when the named Track View does not exist or is not open, when it returns False.
NEW in 3ds Max 2018: The third method, testFilter(), will return true if one or more of the supplied flags is set.
You can supply as many filter flags as desired per call.
The valid filter flag names are:
Flag | Note |
---|---|
#all | Set or clear all flags |
#default | Set default view flags. Note: if non-default flags have been set, these remain set when setFilter() is called with this flag. |
#selectedObjects | |
#selectedTracks | |
#animatedTracks | |
#spacewarpBindings | |
#modifiedObjects | |
#transforms | |
#baseObjects | |
#positionX | |
#positionY | |
#positionZ | |
#positionW | |
#rotationX | |
#rotationY | |
#rotationZ | |
#scaleX | |
#scaleY | |
#scaleZ | |
#red | |
#green | |
#blue | |
#alpha | |
#controllerTypes | |
#noteTracks | |
#sound | |
#materialsMaps | |
#materialParameters | |
#visibilityTracks | |
#hideGeometry | |
#hideShapes | |
#hideLights | |
#hideCameras | |
#hideHelpers | |
#hideSpacewarps | |
#visibleObjects | |
#position | |
#rotation | |
#scale | |
#curveX | |
#curveY | |
#curveZ | |
#curveW | |
#staticValues | |
#hierarchy | |
#objects | |
#boneobjects | |
#keyableTracks | |
#activelayer | |
#unlockedTracks |
The following 3ds Max system global variables are applicable to Track View:
Contains a MAXTVNode value that defines the top-level Global Tracks node in Track View.
See Track View Nodes.
Contains a MAXTVNode value that defines top-level World node in Track View.
See Track View Nodes.
Contains a MAXTVNode value that defines the top-level Video Post Track View node.
See Track View Nodes.