What is the "message" attribute for?

1,557 views
Skip to first unread message

Alan Fregtman

unread,
Mar 25, 2015, 11:34:11 AM3/25/15
to Maya Python List
Hey guys,

I'm sure there's a great answer for this but I can't seem to find it. Everything I've read seems to say that the "message" attribute does nothing, that it's kind of a dummy connection.

Is that so? What is the point of it? To have something you can read connections from later? Or something deeper? I'm curious to know.

Cheers,
   -- Alan

Chad Dombrova

unread,
Mar 25, 2015, 11:39:26 AM3/25/15
to python_in...@googlegroups.com, Maya Python List
Hi Alan,
The point of the message attribute is to make connections between nodes that are purely symbolic. Data does not flow through message attributes -- in either direction -- so there is no chance of a connection made with a message attribute causing errors with Maya's DG evaluation.  These connections are useful to custom processes which need to know the relationships between nodes. 




Sent from Mailbox


--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAN%3DPNLEDn5HUVZS02CN%3DkHrO%3Dh9FRHcxuXbH0KzndG51wOzodg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Eduardo Grana

unread,
Mar 25, 2015, 12:20:19 PM3/25/15
to python_in...@googlegroups.com
Hey Alan,
You can see an example of the use of message attribute with the image plane.
If you create one, you'll see the connection to the camera shape through that attribute...
Cheers!
Eduardo


For more options, visit https://groups.google.com/d/optout.



--

Alan Fregtman

unread,
Mar 26, 2015, 1:44:09 PM3/26/15
to python_in...@googlegroups.com
Cool! Thank you for clarifying, guys.


Reply all
Reply to author
Forward
0 new messages