Notifications
Clear all

[Closed] setDefData only works for explicit data?

Max help states that “.setdefData” saves data persistently on a CA , but I can’t get it to save data derived from variables within a session to another session or from arrays… for example (In pseudo code as I don’t have the actual code at hand)

Materials = #(“up”, “down”, “turnaround”);
custattrib.setdefdata CAdef Materials

…saves within a session, but not persistently on restarting max. even this doesn’t work:

Materials = #(“up”, “down”, “turnaround”);
custattrib.setdefdata CAdef Materials[1]

. thnx for your time.