Hi, this is driving me crazy. I have a mesh that is named "Model__321". How do I query that name? When I do `ls -sl`; Maya also (inconveniently) returns the above group name to which this object is apart of: Group__127|Model__321 I only want the Model__321 part. How is that possible?
Generally you will get grouping information as part of your ls query if you have two objects with the same name but under different groups (as with duplicating/instancing groups), because two objects cannot have the same name; appending grouping information as a suffix keeps the names unique. To split the grouping…