I have been trying to dig around and figure out how I can use pymel's custom
operators with nodes that were not created with pymel. For example the >>
operator, I consistently run into situations that I want to use pymel's cool
functions on objects not created by pymel i.e nodes created from plugins or
other external code. Is there a way to do this?
n1 = mc.createNode('transform', n='thing1')
n2 = mc.createNode('transform', n='thing2')
attr = '.rx'
n1+attr >> n2+attr
n3 = polyCude()[0]
n4 = polyCube()[0]
n3.rx >> n5.rx
Thanks.
--
http://groups.google.com/group/python_inside_maya