MagellanStartup.mel User Marking Menus?

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Post Reply
LeeG
Posts: 4
Joined: Fri Feb 20, 2009 4:33 pm

MagellanStartup.mel User Marking Menus?

Post by LeeG »

I am re-writing the MagellanStartup.mel file to make the spaceNavigator more Maya friendly and I noticed that there is a MagellanButtonEvent procedure that has a line that looks like:

if(`runTimeCommand -q -cat $g3DxCurrentButtonAssignment[$button-1]` == "User Marking Menus")
CreateMarkingMenu($g3DxCurrentButtonAssignment[$button-1]);


What is "User Marking Menus"?
I don't find that as a maya string or command. and it then creates a maya popupMenu. Is this a popupMenu that I can choose items with the SpaceNavigator?

LeeG
mbonk
Moderator
Moderator
Posts: 181
Joined: Mon Dec 04, 2006 4:06 am

Re: MagellanStartup.mel User Marking Menus?

Post by mbonk »

LeeG wrote:What is "User Marking Menus"?
LeeG
User Marking Menus are a category of commands that Maya associates a Marking Menu created by the user to. You will find Marking Menus described in the Maya documentation.
LeeG
Posts: 4
Joined: Fri Feb 20, 2009 4:33 pm

Re: MagellanStartup.mel User Marking Menus?

Post by LeeG »

I am very familiar with Marking menus, my questions is how do you use marking menus with the SpaceNavigator? How do you set a button to have a value of "User Marking Menus" and then how can the SpaceNavigator activate and select the popup menus in Maya? (without using another 2d Mouse)

Thanks for your reply.

LeeG
mbonk
Moderator
Moderator
Posts: 181
Joined: Mon Dec 04, 2006 4:06 am

Post by mbonk »

Why don't you simply try it out?
Post Reply