MAXScript Extensions > MAXScript Extensions for 3ds Max CAT >

# MAXScript Access To CAT Layers

| 3ds Max CAT - Quick Navigation

The following page provides an overview of the CAT layer controllers and interfaces exposure to MAXScript.

## LayerRoot Controller

The CATParent Helper Object holds a controller called the LayerRoot in its .layers property which manages all the layers in the character.

The LayerRoot holds an array of LayerInfo controllers which contain information relevant to each layer, such as the layer name, global weight and timewarp curve.

LayerRootFPInterface

The LayerRootFPInterface exposes all the layer manipulations to MAXScript and is available on every layer controller, the CATParent and the LayerRoot controller.

Many controllers expose the LayerRootFPInterface, and function calls made to a LayerRootFPInterface are passed directly on to the LayerRoot controller.

In other words, the LayerRootFPInterface is exposed on multiple controllers in the character hierarchy simply for the convenience of the user.

## LayerInfo

As mentioned above, the LayerRoot Controller holds an array of LayerInfo Controllers.

Each LayerInfo Controller holds the properties for a layer in the layer stack.

SubAnims

    .weights: float

The weights subanim found on the LayerInfo controller is the global weights controller for this layer.

    .timewarp: float

Provides access to the layer time warp controller.

    .transform: transform

Contains the transform controller for the Transform node.

The LayerInfo controller exposes the LayerInfoFPInterface Function Publishing Interface.

    .SelectedLayer: integer : Read|Write

Returns the currently selected layer.

    .SoloLayer: integer : Read|Write

Returns the index of the solo layer, or -1 if no layer is soloed.

| 3ds Max CAT - Quick Navigation

#### See Also

- 3ds Max CAT and MAXScript