Adverti horiz upsell

oaQuickLayer 1.2.0 for Maya (maya script)

Creates a new layer and adds all selected objects

License
Button download
888 Downloads

Compatibility

  • 8.x, 7.x, 6.x

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:10/16/2005
Last Modified:11/20/2007
File Size: 4.68 KB

 

 

DESCRIPTION:

 

Creates a new layer and adds all selected objects to this layer.

 

TO USE:

 

Source 'oaQuickLayer.mel'. Select some objects and execute 'oaQuickLayer'.

 

PERMANENT INSTALLATION:

 

If you'd like to use oaQuickLayer every time you press the 'New Layer' button, do the following:

 

Edit your 'layerEditor.mel' file, usually located in 'C:/Program Files/Alias/MayaVERSION/scripts/startup/'.

 

For Maya 6.x, replace the line:

 

 symbolButton -edit -command ("layerEditorCreateLayer") $newButton;

 

with:
 
 //symbolButton -edit -command ("layerEditorCreateLayer") $newButton; 
 symbolButton -edit -command ("oaQuickLayer") $newButton;

 

For Maya 7 and above, replace the lines:
 
 symbolButton -edit -command ("layerEditorCreateLayer") $emptyDispLayer;
 symbolButton -edit -command ("layerEditorCreateRenderLayer 1") $emptyRenLayerButton;
 symbolButton -edit -command ("layerEditorCreateRenderLayer 2") $selectedRenLayerButton;


with:
 
 //symbolButton -edit -command ("layerEditorCreateLayer") $emptyDispLayer;
 symbolButton -edit -command ("oaQuickLayer") $emptyDispLayer;
 symbolButton -edit -command ("layerEditorCreateRenderLayer 1") $emptyRenLayerButton;
 //symbolButton -edit -command ("layerEditorCreateRenderLayer 2") $selectedRenLayerButton;
 symbolButton -edit -command ("oaQuickLayer") $selectedRenLayerButton ;

 

 

Restart Maya. 

 

HISTORY: 

 

 v1.2 (Monday, November 19, 2007)
     o Updated for Maya 2008

 

 v1.1 (Tuesday, January 16, 2007)
     o Updated for Maya 8

 

 v1.0 (October 15, 2005)
  o Original Release 
  

IF YOU ENJOY THIS MEL SCRIPT, PLEASE RATE IT. I WOULD APPRECIATE IT. THANK YOU!



Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.