Hello List, I thought this would be easy but I didn't find anything in the docs so I thought i may ask here if someone has a clever solution for my problem.
If we create an Override which overrides a parameter on a material, Softimage automatically generates a copy of that material in question and assigns it to the object which previously had the original material applied. Now in the explorer, we can see that the original material has an annotation on it saying '<Locked by Override>' and the duplicate has one saying '(LOCK) <Created with Override>'. My question is, how can we find out that the original material has been locked by an Override within the SDK? I tied everything that is known to me with no luck. It seems that the automatically generated material has a lock and can be tested for that by LockType, isLocked and LockLevel. But the original one shows no sign of anything locked going on with it. It even isn't assigned any more and UsedBy returns an empty collection. Not even the parameter that got overridden is detectable as such. I can't find any connection between the original material and it's copy originating from the master material. Sure, when I can get hold of the duplicate, I can find the original one but not the other way around. I would be glad for any suggestions regarding this problem. Otherwise I'm going to log this as a Improvement request. Thanks guys (and gals :) ) Vladimir -- --------------------------------------- Vladimir Jankijevic Technical Direction Elefant Studios AG Lessingstrasse 15 CH-8002 Zürich +41 44 500 48 20 www.elefantstudios.ch ---------------------------------------