(its been a while I don't use scops too much now.)
I recall you can use dictionary,getobject and traverse up.
On 1/31/07, Mathieu Leclaire <mleclair(at)hybride.com> wrote:
Heu, this might sound weird but how can I get, from within the scripted operator, the name of the object on which the scripted operator is applied? Lets say for example the output of the scripted op is "
null.kine.local", well, I want to extract the string "null". If I do a LogMessage(out.value); it will log me "null.kine.local". So I though I would try getting it using out.value.parent.parent
but it gives me an error message. I must be missing something obvious but I can't seem to find it. Anyone has a suggestion? Thanks.
Mathieu Leclaire
R&D Programmer
Hybride Technologies