|
Is the object Mother_Text in a group, or perhaps a shape node? That sounds like an error that Maya gives when you’re specifying an object by a non-unique identifier, such as just using the node’s name rather than a path to the object. If you have one node ‘group1|Mother_Text’ and another node ‘group2|Mother_Text’, Maya will give you that error if you try to select ‘Mother_Text’
Plus, it’s probably safer to “capture” the output of the duplicate method and use that data, rather than trusting that the new node will be named PURE_MOTHER_LON1. It’s easier to debug that way, too.
Is there a version of the file that you can post here? Perhaps you can strip out the geometry and just leave in some locators with the same names as your pin points that you’re duplicating. As long as you still get the same error, it’s probably enough that someone can help you make sense of the problem.
In the Command menu of the Script Editor, turn on “Line numbers in errors” to verify that the ‘select -r Mother_Text’ line is the line causing the error.
Author: tkaap
|