cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need a simpler way to rename Display Layers

Need a simpler way to rename Display Layers

Renaming display layers seems to require extra steps.

  1. double click on layer
  2. backspace to beginning of Name: line, OR use mouse to select layer name, OR
    simultaneously press ctrl-shift-left arrow 
  3. type layer name

In a perfect world, it would be great to just right-click on the layer name, choose Rename, then type the new name.
Since that's not doable, I would be glad just to have the Name: field automatically selected.

Since that doesn't seem doable, I'd be glad just to have a macro that would perform the equivalent selection method of ctrl-shift-left arrow .

save key clicks.PNGAvoid wasted key clicks
@sean.heasley 
"I actually agree and its weird that you can't right click and change the name like you can in Photoshop or other programs that have layer editors...."

Realizing it may take a while for an 'Idea' to become reality. Hoping to come up with a 'hack' I can use in the meanwhile... Mel script would be great, but haven't managed to discover anything by echoing commands, in the script editor.

Might resort to some sort of a macro, perhaps via Dragon Naturally Speaking. Seems that triggering a series of keystrokes will do the job... double-click selected layer, then ctrl-shift-left arrow (to select text in the Name field of Edit Layer menu, ready for typing.) Double-clicking in the Name field could replace the ctrl-shift-left arrow method of selecting the text in that field. 

Used 'echo all commands' in the Script Editor... I suppose this code could be useful, if I knew how to turn some of the details into variables... That's down the 'learning curve' road, for now. Thanks in advance, for any suggestions.

layerEditorLayerButtonSelect 0 layer1;
layerEditorDisplayLayerManagerChange;
createLayerEditorQuickEditWindow { "layer1" };
layerEditorQuickEditWindowSave { "layer1" };
setAttr layer1.displayType 0; setAttr layer1.color 0; setAttr layer1.overrideColorRGB 0 0 0; setAttr layer1.overrideRGBColors 0; ; rename layer1 test;
layerEditorLayerButtonRename layer1 test;
// Result: test // 
statusLineUpdateInputField;
deleteUI -window LayerEditorQuickEditWindow;

 

1 Comment
tj.galda
Alumni
Status changed to: Archived

Thanks for the suggestion.  The easiest way to do this is to right click on the layer, then click on the layer name and it will pop up that dialogue you referred to.  From there you can change the name.

 

I know that's not super fast and slick but I'm going to archive this idea for now given the lack of votes & the fact you can rename it (albeit requiring more clicks than ideal).  This will give the team more time to focus on bigger ideas.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea