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.
Frame Selected in Maya?
Moderator: Moderators
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.
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.
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
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
