So far I have tried the following solution but still failed
A) Selecting the layer directly (through MEL) and deleting it
B) Unlocking the node as suggested by this thread
I understand that you can’t delete default objects say deleting lambert1 but again the layer I am trying to delete is nondefault.
Hello, somehow the layer ‘studio_layer’ has essentially taken the defaultLayer’s spot in the file and the defaultLayer is missing. You can see this by selecting the layerManager - cmds.select(‘layerManager’) and notice that studio_setup is in the primary spot for the enum, and there isn’t a default layer in the list.
How this file got to this place I am uncertain. If you want to delete the node you need to recreate the defaultLayer, the easiest way I know of to do that is to import this scene in instead of opening it making sure your import options have the Merge into selected namespace and rename incoming objects that match as the namespace option.
i have a question regarding this topic please if any one can help
i have ziva animation in Maya and when i export the Animation as FBX , i got an error:
Error: Non-deletable node ‘defaultLayer’ cannot be deleted.
Warning: Nothing is selected. Select objects or components to delete.
how could i fix that in Maya 2022?
Thanks in advance
i have a question regarding this topic please if any one can help
i have ziva animation in Maya and when i export the Animation as FBX , i got an error:
Error: Non-deletable node ‘defaultLayer’ cannot be deleted.
Warning: Nothing is selected. Select objects or components to delete.
how could i fix that in Maya 2022?
Thanks in advance
thanks a lot for replying.
i have no idea why Maya needs to delete this default layer and i tried to open another Maya version 2020 to check if the version is the reason! but i also got the Error message !!
yes i know , but every time when i run the script, i got this Error message and i don’t know what to do in Maya 2022 to avoid this Error message?!!
and the script i run is related to export animation as FBX , so there’s nothing in the script trying to delete the default layer!!