Frame Selected in Maya?

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
PixL
Posts: 26
Joined: Wed Nov 28, 2007 11:07 am
Location: USA

Frame Selected in Maya?

Post by PixL »

I've configured on of the buttons on my SpacePilot to "Frame Selected" in the current window. The command is "Model Panel/Frame Selected". However when I press the button, the selection is framed in all views. The command works fine when invoked from a keyboard shortcut.
Anyone know how to fix?
Thanks.
Fred
Moderator
Moderator
Posts: 997
Joined: Wed Dec 06, 2006 7:15 am
Location: Rochester, NY
Contact:

Post by Fred »

Create a macro to the keyboard key.
If you need instructions on creating the Macro if you open the documentation online help file.
PixL
Posts: 26
Joined: Wed Nov 28, 2007 11:07 am
Location: USA

Post by PixL »

Thanks for the quick reply.
When you say a Macro, I assume you are talking about a Maya macro?
I've tried 2 things:
1) I've mapped the button to the same command as the keyboard shortcut, which is "Model Panel/Frame Selected".
2) I've written a custom set of Mel commands and mapped that to a custom user Macro:
{ $currentPanel = `getPanel -withFocus`; string $camera = `modelEditor -q -camera $currentPanel`;viewFit $camera;};

Both of these work in the main interface, but both change all the viewports when invoked from the SpacePilot button.
Thanks.
Fred
Moderator
Moderator
Posts: 997
Joined: Wed Dec 06, 2006 7:15 am
Location: Rochester, NY
Contact:

Post by Fred »

Pixl,
Can you tell me what OS, Version of Maya, along with the 3Dconnexion driver you are running. (Open the 3dcontrol panel click help and about.)

Ive passed an email to the programmers to look into the issue and the above info would help.

Also the programmers read the post here as well and they'l check to see if they can duplicate the issue.
Fred
PixL
Posts: 26
Joined: Wed Nov 28, 2007 11:07 am
Location: USA

Post by PixL »

XP x64 SP2
Maya 2008
Driver is 3.5.1
Post Reply