C# catapi


#1

Anybody knows how we can use CatAPI inside C#? (Autodesk.max)
I want to access this method: SetAnimationStretchy


#2

Available in 2020 c# Autodesk.Max.dll. I can’t check 18-19 versions, but 2017 sdk have no CatAPI at all.


#3

So I can’t use it in all versions, What about python? Do you think we can get CAT interface somehow?


#4

pymxs has everything maxscript has. so…


#5

all about CAT Stretchy is a part of CATNodeControlFPInterface which must be available (accessible) for all CAT versions :
https://help.autodesk.com/view/3DSMAX/2016/ENU/?guid=__files_GUID_6AD3551C_6AE4_4120_8CD1_CB3C78C09D50_htm


#6

So where we can find it inside c# or SDK? I couldn’t find anything about it.
The problem (we should call it bug!) is that the “.AnimationStretchy” property only works in the UI and we can’t set it by using MaxScript. So I decided to find a SDK or Python or C# method, May work.


#7

why? I don’t see the problem to set it up:

.controller.AnimationStretchy = <true/false>

i didn’t try to go ‘deeper’ to check the functionality, but we can set it at least.