Notifications
Clear all

[Closed] Custom Attributes Export via Max SDK

I’ve used the Max SDK to make a mesh exporting plugin. I used to define animation data in a single nodes User Properties but that started getting a bit frustrating so I converted to custom attributes in the rootNode. I have 3 tables, all variable size, pStart (#intTab), pEnd (#intTab), pName(#stringTab). The problem is that when I export the scene and the plugin finds the variable (lets say it’s pStart) it recognises that it is a TYPE_INT_TAB but it doesn’t show that it has any elemets in the array. The tab_size is always zero, regardless of the number of elements I put in the array in the custom attributes (which load and save correctly).

Is this a common problem? Is it my own shortcoming or something in maxScript or the maxSDK?

Thanks.