You could, in theory, trap a mouse-move message and see if the cursor's co-ordinates are within the viewport, then drop a ray from the cursor to see what in the scene it intersects, and get that object's name.
John's solution is better, but if you wanted to code it up yourself, I think you could use the API to do this (Windows, not sure how Linux handles mouse events). On Wed, Sep 17, 2008 at 9:35 AM, John Creson <[EMAIL PROTECTED]> wrote: > > if you right click over the object, the context sensitive menu will > also tell you the name of the object. > > > On Wed, Sep 17, 2008 at 7:38 AM, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: >> >> hi! >> is it possible to program maya so that if i take my mouse over some >> object and i should know the name of that object???? >> >> > >> > > > > -- Where we have strong emotions, we're liable to fool ourselves - Carl Sagan --~--~---------~--~----~------------~-------~--~----~ Yours, Maya-Python Club Team. -~----------~----~----~----~------~----~------~--~---
