SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

SM Forums / Lounges / Maya Basics & Newbie Lounge / shelf button for edit pivot

Maya Basics & Newbie Lounge Please post in this section ONLY if your question doesn't fit in anywhere else on the forum, or if you're not sure which section it's relevant to. We also have Free streaming trial available.

Join the conversation. Reply to post
Thread Tools
25-02-2020, 10:30 PM   #1
Registered User
Join Date: Feb 2020
Posts: 1
shelf button for edit pivot
I use the edit pivot function a lot (the one that's found in the move/rotate/scale options window). It's a lot like the slide edge function but the edit pivot lets you select the specific component to line up to and it brings back your gismo. It's a pain to always have to bring up the options window every single time, so I'm looking to make a shelf button for it. Playing with the mel script that fires off, I can make a button that sets the pivot a specific direction, but I haven't been able to find a way that puts me into the component selection mode that pressing the edit pivot button does. Any ideas?
  Reply with quote
04-04-2020, 04:20 AM   #2
Lifetime Member
jsprogg's Avatar
Join Date: Feb 2004
Location: Chicago
Posts: 1,710
1 First make sure you are on the shelf that you want to copy to. 2 copy the script below to your shelf by opening the script editor at the bottom right of your scene (if it's not empty click edit/clear all ) then paste in the script. Now go to the file tab and click save script to shelf, give it a name and choose Mel. Hopefully this is what you wanted.

manipMoveValues Move;
manipMoveValues Move;
manipMoveValues Move;

2 x Modeling Challenge Winner
  Reply with quote

mel , pivot , shelf

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Precise Editing: Pivot Point diazdevinr Maya Modeling 3 25-07-2017 12:50 AM
Selection Higlighting shelf button error goggles Programming 0 29-01-2014 10:59 PM
Shelf button not saving on startup mr pix. Maya Basics & Newbie Lounge 2 21-10-2008 05:28 AM
Apply Maya's Images onto a Shelf Button BennyK Programming 8 23-10-2007 02:10 AM
Toggling a button ON - OFF skywola Programming 2 09-03-2006 06:09 AM