PDA

View Full Version : Python API - How to connect two nodes


andrearastelli
11-11-2011, 08:45 PM
Ok, maybe the title is a little confused, but what I mean is simple:
I have two custom nodes:
the first one is a MPxNode, the second one is a MPxLocatorNode.

Now, what I have done is almost simple (i think.. unless I have made some huge mistake.. in that case i will hang myself :P ):
I need to transfer a JSON string from the first MPxNode to the second MPxLocatorNode.

How i can do that?

please don't link me the SKD documentation because i have read so many times.. that i can be crazy if i read one more row
What I need is an explanation on how I can read an attribute (string) from an MPxNode to an MPxLocatorNode with the draw method (because compute method with Maya2012 make all crash boom bang)

..help me if one of you can!

thanks :D

CGTalk Moderation
11-11-2011, 08:45 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.