CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 08-16-2005, 06:02 PM   #1
Omita
Cubicle Camper
 
Omita's Avatar
Hays Clark
Senior Game Developer
Seattle, USA
 
Join Date: Jan 2002
Posts: 459
del All Layers Script - delAllLayers.mel

Here is my stupid stimple script with some Icon I have made for it. I was tired of watching some artist here delete layers one by one. I think the Icons are more impressive then the script.

4 Shelf Icons to pick from:



The Direct Link:

http://www.omita.com/Mel/delAllLayers.zip

The script is added to my little mel page:

http://www.omita.com/Mel/index.php

-Hays
__________________
Software Engineer
 
Old 08-16-2005, 08:34 PM   #2
Mikademius
Little Brother
 
Mikademius's Avatar
portfolio
Martin Andersson
Project Manager, Asset Lead
Animation -Hut
Oslo, Norway
 
Join Date: Jun 2002
Posts: 958
Actually, that could be quite handy I'll read through it
__________________
Martin Andersson
- www.animation-hut.no
- http://www.thekove.com
 
Old 08-17-2005, 10:34 PM   #3
DangerAhead
Rigger Lover
 
DangerAhead's Avatar
portfolio
Geordie Martinez
Character TD - Rigger - Massive TD
Industrial Light & Magic
San Francisco, USA
 
Join Date: Jun 2003
Posts: 437
Here's one for rigging to create layers:

Code:
global proc gmResetDisplayLayer (string $nameOfLayer, int $displayType ){ string $Layer_List[] = `ls -typ displayLayer`; for ( $j = 0; $j < `size $Layer_List`; $j++ ) { if ($Layer_List[$j] == $nameOfLayer){ layerEditorDeleteLayer $Layer_List[$j]; } } createDisplayLayer -name $nameOfLayer -number 1 -empty; // displayType = 0 NORMAL // displayType = 1 TEMPLATE // displayType = 2 REFERENCE setAttr ($nameOfLayer + ".displayType") $displayType; }

Last edited by DangerAhead : 08-17-2005 at 11:18 PM.
 
Old 08-17-2005, 10:34 PM   #4
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,480
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 03:36 AM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.