Node Managing
What is the best way to track Node in scenes?
When an object is created is it given a unique ID number of some sort?
A number that would carry over from file to file if it were to be merged into other scenes.
Right now an easy way to track an object would be to just getNodeByName but that only works until a user changes the name and then its messed up.
Another way would be to store a variable in the userDefined property of that object and track it that way. What's some other thoughts or ideas?
Comments
Hey John, There is a handle
Hey John,
There is a handle ID for each node in the scene (e.g. obj1.handle or obj1.inode.handle), but it does not carry from file to file, not sure if it it even stays the same for each session. I'd say userProps are a good idea!
For the buttons: I dont think you can do that. Custom buttons are somewhat limited, only thing you can do is make them work like a checkbutton, but thats it.
Cheers
Never get low & slow & out of ideas
Does anyone know if this is
Does anyone know if this is possible. By default you can right click on buttons such as the Snap in order to adjust the settings. Is this possible for user created toolbar buttons?
John Martini
Digital Artist
http://www.JokerMartini.com (new site)