Seems like you are dealing with a list of pymel nodes. So you would need to take an item from the list, and then get its name:
aItem = items[0] print aItem.name() On Mon, May 13, 2013 at 1:52 PM, Ben Kamakorewa <[email protected]>wrote: > > I need to get just "Sandbag_Deformer_02_CL_Handle" > > but when i print I always get: > > '[nt.Transform(u'Sandbag_Deformer_02_CL_Handle')]' > > How do I get rid of this formatting? please > > Thanks in advance. > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
