Track View

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.

The Track View functions are:

trackView.open <name_string>

Opens an existing Track View with the specified name, or creates a new Track View with specified name. Returns the value True.

   

trackView.zoomSelected <name_string>

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.

   

trackView.close <name_string>

Closes the named Track View.

This method will return True, except when the named Track View does not exist or is not open, when it returns False.

   

trackView.pickTrackDlg [#multiple] [<filter_function>] [options:<integer>]

See separate topic: Track View Pick Dialog for details.

   

trackView.numTrackViews()

Returns the number of named Track Views defined

   

trackView.getTrackViewName <index_integer>

Returns the name of the indexed Track View as a String.

Index values are 1-based.

   

trackView.setFilter "name_string" {<filter_flag_name>} [#noRedraw]
trackView.clearFilter "name_string" {<filter_flag_name>} [#noRedraw]

These methods allow you to set and clear display filters flags to control what is visible in a named Track View.

This method will return True, except when the named Track View does not exist or is not open, when it returns False.

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
#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  

The following 3ds Max system global variables are applicable to Track View:

globalTracks

Contains a MAXTVNode value that defines the top-level Global Tracks node in Track View.

See Track View Nodes.

This variable is read-only.

   

trackViewNodes

Contains a MAXTVNode value that defines top-level World node in Track View.

See Track View Nodes.

This variable is read-only.

   

videoPostTracks

Contains a MAXTVNode value that defines the top-level Video Post Track View node.

See Track View Nodes.

This variable is read-only.

See Also