EverZen
06-18-2007, 11:16 PM
Hi guys,
I am trying to write some pretty large tools to help with a project pipeline. I really want to be able to store data information in a scene (array data), without the artists accidently deleting it from the scene. But the data needs to be saved/loaded in the scene file.
As I understand it, to actually be able to have data stored into a scene, you have to deal with a plugin (maxscript in my case) of at least Level 3. This is not a problem to create (although I have very little experience with scripted pluggins). But I want this data to sit silently in the background, so that I can access it when I want for specific purposes. The problem is, say I make a plugin with superclass "helper", then I can write out all the lovely parameters that I need. But I then need to create an instance of this helper plugin in the scene. This isnt really a problem, except it appears in the select objects list, and therefore can be accidently deleted etc. I could create it as a texturemap plugin or something, but then there could be the same problem when the artists Texture.
Is there a way to write a plugin that can store some really simple data, and will be saved with the scene, but will not appear in an obvious way that might be deleted. (I want to then access the data from a series of Maxscripts, so ideally the artists wont ever accidently bump into it, and potentiallty delete it.... I have used invisible:true , so it doesnt appear on the create menus, but the instance will still be selected if an artist "selects all" for example.
Any ideas guys? Being able to do this would be so cool for so many of the tools that I am writing at the moment!
Thanks for your time everyone.
EverZen
I am trying to write some pretty large tools to help with a project pipeline. I really want to be able to store data information in a scene (array data), without the artists accidently deleting it from the scene. But the data needs to be saved/loaded in the scene file.
As I understand it, to actually be able to have data stored into a scene, you have to deal with a plugin (maxscript in my case) of at least Level 3. This is not a problem to create (although I have very little experience with scripted pluggins). But I want this data to sit silently in the background, so that I can access it when I want for specific purposes. The problem is, say I make a plugin with superclass "helper", then I can write out all the lovely parameters that I need. But I then need to create an instance of this helper plugin in the scene. This isnt really a problem, except it appears in the select objects list, and therefore can be accidently deleted etc. I could create it as a texturemap plugin or something, but then there could be the same problem when the artists Texture.
Is there a way to write a plugin that can store some really simple data, and will be saved with the scene, but will not appear in an obvious way that might be deleted. (I want to then access the data from a series of Maxscripts, so ideally the artists wont ever accidently bump into it, and potentiallty delete it.... I have used invisible:true , so it doesnt appear on the create menus, but the instance will still be selected if an artist "selects all" for example.
Any ideas guys? Being able to do this would be so cool for so many of the tools that I am writing at the moment!
Thanks for your time everyone.
EverZen
