r4inm4ker
unread,Aug 30, 2010, 3:55:04 AM8/30/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
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
Hi all,
I'm using pymel listConnections(s=0,d=1,c=1,p=1) to get the
connection pairs between two nodes. But now I'm facing a problem :
some nodes (like blendshape) seem to have alias names for its
attribute. For example one of the results when calling the
listConnections above was : (Attribute(u'head_deform_l_blink.output'),
Attribute(u'head_deform.weight[0]')). Another name for
"head_deform.weight[0]" was "head_deform.l_blink", and i'd prefer the
latter one for some renaming/mirroring reasons. Interestingly, both
mel and maya python listConnections return the name 'l_blink' for that
attribute, only pymel returns weight[0]. So is there any command in
pymel to convert between those two names?
Thanks,
Jefri.