Go to: Synopsis. Return value. Flags. MEL examples.
suitePrefs [-applyToSuite string] [-installedAsSuite] [-isCompleteSuite]
suitePrefs is undoable, NOT queryable, and NOT editable.
This command sets the mouse and keyboard interaction mode for Maya and other Suites applications (if Maya is part of a Suites install).None
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
-applyToSuite(-ats) |
string |
|||
|
||||
-installedAsSuite(-ias) |
||||
|
||||
-isCompleteSuite(-ics) |
||||
|
||||
// Check if Maya is part of a Suites install
if(`suitePrefs -q -installedAsSuite`) {
// Check whether Maya mouse and keyboard interaction
// has been applied to the Suite.
if(!`suitePrefs -q -applyToSuite`) {
// Apply Maya mouse and keyboard interaction to
// the Suite.
suitePrefs -applyToSuite 1;
}
}