View Full Version : Preserve Data in Scene
_stev_ 06-14-2006, 10:51 PM Hey all,
Is there any way to have a node containing a set of "User Properties" in a max scene which is undeleteable in the standard MAX interface? I know there are some workarounds, but I'm looking for a clean way of doing this.
The idea is to preserve data in the scene and be able to have many other people use the scene without being able to "mess things up" in their normal workflow.
Input is much apprieciated,
Stev
|
|
d3coy
06-14-2006, 11:05 PM
Have you ruled out using custom attributes?
_stev_
06-14-2006, 11:16 PM
Haven't ruled it out, but the objects which contain these custom attrs could be accidentally deleted.
specxor
06-14-2006, 11:28 PM
I have often created a new track view node and assigned CA to it... or depending on the type of data Persistent globals work quite well
JohnSwafford
06-15-2006, 06:43 AM
Whether you are using CA's (Custom Attributes) or AppData strings, you'll want to attach your data to the rootNode of the scene. This is an invisible node that is the parent of every node in the scene that is not parented to another object. I don't use CA's, but I do use the getAppData/setAppData functions to attach data as strings to the rootNode. Below is an example:
MyInteger = 33
33
setAppData rootNode 1 (MyInteger as string)
OK
getAppData rootNode 1
"33"
((getAppData rootNode 1) as integer)
33
_stev_
06-15-2006, 07:50 AM
Whether you are using CA's (Custom Attributes) or AppData strings, you'll want to attach your data to the rootNode of the scene. This is an invisible node that is the parent of every node in the scene that is not parented to another object. I don't use CA's, but I do use the getAppData/setAppData functions to attach data as strings to the rootNode.
This looks like a great possibility. I'm going to look into it.
Thanks bra,
Stev
CGTalk Moderation
06-15-2006, 07:50 AM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.