OK, the above question still stands but perhaps you can help me in another way.
The reason I wanted to protect an object from deletion is because I wanted to use its attributes as storage for data from a script.
My aim is to have the data remain in the scene file so that it saves with the file, opens with it and can be edited via the script during Maya sessions.
So how can one store date like this without using a locator or a piece of geometry for its attributes? Using a locator is not elegant, and leaves the user open to deleting it...
Thanks!
Malcolm