You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python_inside_maya, viky....@gmail.com
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????
John Creson
unread,
Sep 17, 2008, 12:35:58 PM9/17/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python_in...@googlegroups.com
if you right click over the object, the context sensitive menu will also tell you the name of the object.
Ravi Jagannadhan
unread,
Sep 17, 2008, 4:20:24 PM9/17/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python_in...@googlegroups.com
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).
-- Where we have strong emotions, we're liable to fool ourselves - Carl Sagan