CGTalk > Software > Autodesk 3ds max > 3dsMax SDK and MaxScript
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
Thread Tools Search this Thread Display Modes
Old 06-13-2012, 01:11 PM   #1
Join Date: Feb 2005
Posts: 490
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.
Old 06-13-2012, 01:11 PM   #2
CGTalk Moderation
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,478
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 06:52 PM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.