After assigning some objects to layers in Studio and then importing them into Maya (.wire, iges, or .stp), both the shape and transform nodes for each object are assigned to a display layer.
Thus when you go to assign one of those objects to a new layer (via selection in the workspace or Outliner), only the transform node is reassigned while the shape node remains connected to the original layer.
Use this script to help solve this issue:
string $allObjects[] = `ls -type nurbsSurface -type mesh`;
string $allLayers[] = `ls -type displayLayer`;
select $allObjects;
layerEditorRemoveObjects $allLayers[0];
After executing this script, you can now select any of the imported objects and assign them to new Display Layers without their shape nodes remaining connected to their original layers.
Thanks to Jeremy Keays for his tip
This entry was triggered by a request from one of our customers who couldn’t locate a specific maya file on Mac
To search from a command line type
find . –name “Myfile” –print
Where MyFile is the name of the file you are looking for
Recent Comments