Notifications
Clear all

[Closed] CAT select Question

i’ve been looking through the CAT documentation trying to set up a script, and there seems to be missing a (IMO) fairly vital command, that of selecting an animation layer.
I can find out how many layers there are, i can create and delete layers, and all of that, but i don’t see any option to just select a layer.

Any one know if that command exists and what it is?

thanks!

3 Replies
1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

check “AnimLayerManager” interface in the maxscript help…

Unfortunately I’m not using animation layers from Max, I’m trying to access the animation layers on the CAT rig. something along the lines of:

$catparent.SelectLayer

but there doesn’t seem to be a command for that. Thanks for the help though!

-ian

Found the solution, and i offer it to any one who needs it.

I had been foolishly ignoring the fact that some commands can give info AND change parameters. I thought the command:

$CATparent.SelectedLayer

Only told you what layer was selected. It can however also be used to select layers by the following:

$CATparent.SelectedLayer = n

So, yeah. I feel fairly dumb. Live and learn i guess?

Anyway, Thanks for the reply, I hope this helps others too!

-ian