MAXScript Extensions > MAXScript Extensions for 3ds Max CAT > CAT Objects >

# CATParent : Helper

    CATParent - superclass: helper; super-superclass:node - 17:17 - classID: #(1454273253, 949708377)

| 3ds Max CAT - Quick Navigation

This Helper Object serves as the root of 3ds Max CAT character rigs.

It stores the common shared information about a character rig including the name of the rig and the CATUnits value.

It also holds the layers system details including the name of each layer and its global weight.

Constructor:

    CATParent ...

Properties:

     <CATParent>.CATMode Integer default: 0 -- integer

Get/set the CAT Mode.

Possible values are:

0 - Rig Mode

1 - Animation Mode

     <CATParent>.CATName String default: "CATRig" -- String by value

Get/set the name of the CATRig.

     <CATParent>.CATUnits Float default: 1.0 -- float

Get/set the [CATUnits Ratio] value of the CATRig.

     <CATParent>.CATVersion Integer default: 360 -- integer;

Contains the CAT version number. Read-Only.

     <CATParent>.ColourMode Integer default: 0 -- integer

Get/set the Color Mode of the CAT Rig.

Possible values are:

0 - Bone Colors

524288- Animation Layer Colors

Corresponds to the Rig Coloring Mode flyout in the Motion Tab UI.

     <CATParent>.LengthAxis String default: "X" --String

Get/set the Bone Length Axis mode.

Possible values are

"X" - X Axis

"Z" - Z Axis

     <CATParent>.Node CATParent default: $Object:Character001 @ [0.000000,0.000000,0.000000] -- node; SubAnim

Contains the CATParent node.

This is redundant since it returns the same object the property is exposed by, but it can be useful when iterating through the whole character rig since all bone controllers also expose a .node property.

     <CATParent>.RootHub UndefinedClass default: undefined -- control;

Contains the Root Hub of the rig

Typically this is the Pelvis that connects the legs, spine and tail bones.

     <CATParent>.RootTransformNode UndefinedClass default: undefined -- node;

Contains the Root Transform Node of the rig.

     <CATParent>.CATRigLayerCtrls Array default: #() -- control by value array;

Contains an array of all Layer controllers used by the rig.

     <CATParent>.CATRigNodes Array default: #($Object:Character001 @ [0.000000,0.000000,0.000000]) -- node by value array;

Contains an array of all Nodes used by the rig.

     <CATParent>.CATRigSpaceMatrix3 default: (matrix3 [-1.62921e-007,0,1] [0,1,0] [-1,0,-1.62921e-007] [0,0,0]) -- matrix3;

Contains the Rig Space Transformation Matrix.

     <CATParent>.NumLayers Integer default: 0 -- integer;

Contains the number of layers in the rig.

     <CATParent>.Layers Floatdefault: 0.0--float

The controller assigned to this property is the LayerRoot controller used to manage all layers on the rig. Thus, this property should be accessed as .Layers.Controller

     <CATParent>.SelectedLayer Integer default: 0 -- index

Get/set the index of the Selected Layer.

     <CATParent>.SoloLayer Integer default: 0 -- index

Get/set the index of the Solo Layer.

     <CATParent>.TrackDisplayMethod Integer default: 1 -- integer

Get/set the Track Display Method.

Possible values are:

1 - Active Layer

2 - Contributing Layers

3 - All Layers

## CATParent interfaces:

    Interface: CATParentFPInterface

See Interface: CATParentFPInterface for properties and methods.

    Interface: LayerRootFPInterface

See Interface: LayerRootFPInterface for properties and methods.

| 3ds Max CAT - Quick Navigation

#### See Also

- 3ds Max CAT and MAXScript