[Closed] [SDK] Access to CAT layers
I would like to access CAT layers from a CATParent INode, but I have no idea on how to do this. In maxscript it is simple enough, but in the SDK I wouldn’t even know where to start (and it doesn’t seem to be documented at all either).
If anyone could give me a starting point, that’d be great!
have a look in the include files, might be interface access macros defined to get you started. It should mirror the scripting access from there. Sorry cant be more specific as I don’t use a CAT version of max.
Hmm, I couldn’t find any headers for it, nor find any references to it in other header files…
think that means you are limited to paramblock access only from the SDK (and you’ll have to page through the params and note down ID manually in the debugger or out put them to the listener) , though you can call mxs from the SDK but that kind of defeats the object
I’m not having much luck there either. When looking at a CATParent INode, the ParamBlock of the ObjectRef and BaseObject are null…
edit: searched on a bit, and found the paramblocks now through GetReference(int). Including a paramblock called “CAT shit”… Classy
Now I’ll have to search on to find out what to do with these.