Page 1 of 1

small help needed with adding a special toolbar button

Posted: Mon Jul 15, 2013 2:46 pm
by choo-chee
As FIRE crashes many times, I usually save the scene before using it.
So I'd like to know, is there an option to add a toolbar button next to fire that clicking it will save scene --> then start FIRE ?

Re: small help needed with adding a special toolbar button

Posted: Mon Jul 15, 2013 3:11 pm
by Mihnea Balta
Write this in the command line or script editor:
Code: Select all
file -s; maxwellOpenInteractiveViewport
Select the text and drag it with the middle mouse button to the shelf. Maya will create a button with that command. You can then edit the tooltip, icon and label using the shelf editor.

Re: small help needed with adding a special toolbar button

Posted: Mon Jul 15, 2013 3:15 pm
by choo-chee
:D :roll: :D