get object name from scripted op

Date : Wed, 31 Jan 2007 16:29:18 -0500
To : <XSI(at)Softimage.COM>
From : "Mathieu Leclaire" <mleclair(at)hybride.com>
Subject : get object name from scripted op
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


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.