Script question please 2004-04-07 - By Ludovick W Michaud
Back Well you could go through all the object of the scene and check their value, when they match the values you are looking for than logmessage the name of the object found.
For Instance.
For each oObj in oRoot.FindChildren if (oObj.kine.global.pox == 1 && oObj.kine.Global.posy == 1 && oObj.kine.Global.posz == 0) then Logmessage oObj.Name end if next
I haven't tested the syntax, this is just out of memory so you might have to look up a bit the values if it doesn't work at first try.
Hope this helps.
Ludo
On Wed, 2004-04-07 at 12:26, Fabrice Altman wrote: > Hi list, > > if I know an object center is at global 1,1,0 for example, > can a little VB 'magic' return it's name ? > > Thanks > F.
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|