Maxwell Render

Maxwell Render Information Repository
It is currently Thu Jun 20, 2013 6:17 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: more icons in toolbar?
PostPosted: Tue Sep 04, 2012 11:02 am 
User avatar

Joined: Tue Jan 23, 2007 6:12 pm
Posts: 549
Location: Israel
Hey maya masters....
is there a way to add more toolbar icons with some VERY needed commands, like:
* show/hide all maxwell references
* show/hide all maxwell instances
* select/de-select all maxwell.... well you get the idea I guess.
thanx !

_________________
ahh....ahhh....ahhh......no !!


Top
 Profile  
 
PostPosted: Wed Sep 19, 2012 9:52 am 
User avatar

Joined: Tue Jan 23, 2007 6:12 pm
Posts: 549
Location: Israel
* bump *

_________________
ahh....ahhh....ahhh......no !!


Top
 Profile  
 
PostPosted: Wed Sep 19, 2012 2:58 pm 
User avatar

Joined: Wed Oct 18, 2006 8:20 am
Posts: 1848
I don't think it's a good idea to clutter the shelf with a lot of buttons. We haven't received other requests for show/hide/select buttons and most likely different users need different customizations; we would end up with a million buttons.

However, it's easy to do what you wish with MEL. For example, this command selects all Maxwell references:

Code:
select -r `ls -type maxwellReferencedMXS`


If you type this in the script editor and select the text, you can drag it with the middle mouse button onto the shelf and Maya will create a new button which runs that command. You can also use the shelf editor to add, edit and remove buttons (you will find it either in the Window -> Settings/Preferences menu, or by clicking on the down arrow on the left of the shelf).


Top
 Profile  
 
PostPosted: Sun Sep 23, 2012 1:29 pm 
User avatar

Joined: Tue Jan 23, 2007 6:12 pm
Posts: 549
Location: Israel
thanx man, you see I count on you gyus to tell me how to do stuff like this...
-edit-
can you PLEASE also tell me how to do the same with instances?
I'll make icons for those commands if anyone else wants it...

_________________
ahh....ahhh....ahhh......no !!


Top
 Profile  
 
PostPosted: Mon Sep 24, 2012 1:30 pm 
User avatar

Joined: Wed Oct 18, 2006 8:20 am
Posts: 1848
Replace maxwellReferencedMXS with maxwellInstance in the command above.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group