Maya Tips

Unlocking nodes and deleting them.

It so happens where while we intend to delete a node in the outliner as a part of cleanup process, but unable to do so as the node is locked. For such cases, here is a small snippet that you can run after selecting the same node in the outliner:
 

string $sel_list[] = `ls -sl`; // get all the selection by user in an array
for ($sel in $sel_list)        // traverse through each of the items in the array
{
lockNode -lock off $sel;  // unlock the item
delete $sel;                   // delete the item
}


Getting Back Classic renderlayers

Ever since 2016ext2 Maya had changed its layering system for good.  However, if you would like to open an older file in this newer version of Maya, you might not able to see your render layers as well as render passes. To get back the old traditional render passes and render layers, Just go to windows -> settings -> preferences and the rendering category. Choose the preferred render setup to Legacy Render Layering method and enable "show Maya Legacy passes" and "Use legacy render settings".
Choose to use Legacy renderlayers in settings-> preferences
Choose to use Legacy Render Layers to get back to old RLs

No comments:

Post a Comment

New Pages added

Started new pages for different major s/w in use today. I will keep adding a new page if the info I intend to add seems relevant and deserve...