Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Mel shortcut script (Select, Delete and Save)

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
liamjones98
617 Views, 2 Replies

Mel shortcut script (Select, Delete and Save)

Hi all,

 

I'm currently running Maya 2020 and I wanted to make a command for the shelf which allows for me to easily Select all, delete by type History and the save the scene, all in one click. I have no clue what I'm doing with scripts, so far I have 1. SelectAll 2. DeleteHistory 3. SaveScene. When I click my command, the only thing that is happening is the 'select all' part. Am I doing something wrong? Thanks in advance.

Tags (3)
Labels (1)
2 REPLIES 2
Message 2 of 3
mspeer
in reply to: liamjones98

Hi!

 

You need to mark the end of every command with a semicolon (";")

SelectAll;
...

 

Message 3 of 3
liamjones98
in reply to: mspeer

Thanks Mspeer

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

Post to forums  

Autodesk Design & Make Report