What's New in MEL and Python

 
 
 

PySide now included with Maya

PySide version 1.1.1 is now included with Maya. It is built with Python 2.7 and Maya Qt version 4.8.2.

PySide is a set of Python bindings for Qt that are now shipped with Maya. It is an Open Source project with the same licensing as Qt.

See http://qt-project.org/wiki/PySide for more information regarding PySide.

For sample PySide code, see creaseSetEditor.py in the following path of your Maya installation:

(Windows) \Python\Lib\site-packages\maya\app\general\

(Linux) $MAYA_LOCATION/lib/python2.7/site-packages/PySide

(Mac) Maya.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PySide

New commands

The following commands have been added:

Changed commands

The following commands have been changed:

Command Changes

about

Flag added: buildVariant

Flag added: compositingManager

animLayer

Flag added: addRelatedKG

art3dPaintCtx

Flag added: textureFilenames

channelBox

Flag added: rotationContext

Flag added: scaleContext

Flag added: translationContext

dataStructure

Flag added: remove

Flag added: removeAll

Flag removed: delete

dockControl

Flag added: sizeable

evalDeferred

Flag added: lowPriority

file

Flag added: applyTo

Flag added: buildLoadSettings

Flag added: channels

Flag added: cleanReference

Flag added: command

Flag added: compress

Flag added: constraints

Flag added: constructionHistory

Flag added: copyNumberList

Flag added: defaultExtensions

Flag added: defaultNamespace

Flag added: deferReference

Flag added: editCommand

Flag added: errorStatus

Flag added: executeScriptNodes

Flag added: exists

Flag added: expandName

Flag added: exportAll

Flag added: exportAnim

Flag added: exportAnimFromReference

Flag added: exportAsReference

Flag added: exportAsSegment

Flag added: exportSelected

Flag added: exportSelectedAnim

Flag added: exportSelectedAnimFromReference

Flag added: exportSelectedNoReference

Flag added: exportUnloadedReferences

Flag added: expressions

Flag added: flushReference

Flag added: force

Flag added: groupLocator

Flag added: groupName

Flag added: groupReference

Flag added: ignoreVersion

Flag added: import

Flag added: importReference

Flag added: lastFileOption

Flag added: lastTempFile

Flag added: list

Flag added: loadAllDeferred

Flag added: loadAllReferences

Flag added: loadNoReferences

Flag added: loadReference

Flag added: loadReferenceDepth

Flag added: loadReferencePreview

Flag added: loadSettings

Flag added: location

Flag added: lockContainerUnpublished

Flag added: lockFile

Flag added: lockReference

Flag added: mapPlaceHolderNamespace

Flag added: mergeNamespaceWithParent

Flag added: mergeNamespaceWithRoot

Flag added: mergeNamespacesOnClash

Flag added: modified

Flag added: moveSelected

Flag added: namespace

Flag added: newFile

Flag added: open

Flag added: options

Flag added: parentNamespace

Flag added: postSaveScript

Flag added: preSaveScript

Flag added: preserveName

Flag added: preserveReferences

Flag added: preview

Flag added: prompt

Flag added: proxyManager

Flag added: proxyTag

Flag added: reference

Flag added: referenceDepthInfo

Flag added: referenceNode

Flag added: relativeNamespace

Flag added: removeDuplicateNetworks

Flag added: removeReference

Flag added: rename

Flag added: renameAll

Flag added: renameToSave

Flag added: renamingPrefix

Flag added: renamingPrefixList

Flag added: replaceName

Flag added: resetError

Flag added: returnNewNodes

Flag added: save

Flag added: saveDiskCache

Flag added: saveReference

Flag added: saveReferencesUnloaded

Flag added: saveTextures

Flag added: sceneName

Flag added: segment

Flag added: selectAll

Flag added: shader

Flag added: sharedNodes

Flag added: sharedReferenceFile

Flag added: shortName

Flag added: strict

Flag added: swapNamespace

Flag added: type

Flag added: uiConfiguration

Flag added: unloadReference

Flag added: unresolvedName

Flag added: usingNamespaces

Flag added: withoutCopyNumber

Flag added: writable

getAttr

Flag added: caching

Flag added: channelBox

Flag added: expandEnvironmentVariables

Flag added: keyable

Flag added: lock

Flag added: multiIndices

Flag added: settable

Flag added: silent

Flag added: size

Flag added: time

Flag added: type

help

Flag added: popupSimpleMode

hyperGraph

Flag added: showConnectionFromSelected

Flag added: showConnectionToSelected

iconTextButton

Flag added: flat

Flag added: version

iconTextCheckBox

Flag added: flat

Flag added: version

iconTextRadioButton

Flag added: flat

Flag added: version

iconTextScrollList

Argument type changed for selectIndexedItem from "uint" to "int"

Flag added: itemTextColor

iconTextStaticLabel

Flag added: version

imagePlane

Argument type changed for counter from "" to "boolean"

Argument type changed for dropFrame from "" to "boolean"

Argument type changed for frameDuration from "" to "int"

Argument type changed for negTimesOK from "" to "boolean"

Argument type changed for numFrames from "" to "int"

Argument type changed for quickTime from "" to "boolean"

Argument type changed for timeCode from "" to "int"

Argument type changed for timeCodeTrack from "" to "boolean"

Argument type changed for timeScale from "" to "int"

Argument type changed for twentyFourHourMax from "" to "boolean"

Flag added: camera

Flag added: detach

Flag added: edit

Flag added: fileName

Flag added: height

Flag added: imageSize

Flag added: lookThrough

Flag added: maintainRatio

Flag added: name

Flag added: showInAllViews

Flag added: width

joint

Flag added: symmetry

Flag added: symmetryAxis

jointCtx

Flag added: symmetry

Flag added: symmetryAxis

launch

Flag added: directory

lockNode

Flag added: lockName

makeIdentity

Flag added: preserveNormals

memory

Flag added: asFloat

Flag added: gigaByte

menuItem

Flag added: version

modelEditor

Argument type changed for filteredObjectList from "boolean" to ""

Flag added: greasePencils

Flag added: pluginObjects

Flag added: queryPluginObjects

Flag added: rendererDeviceName

Flag added: rendererOverrideList

Flag added: rendererOverrideListUI

Flag added: rendererOverrideName

nodeEditor

Flag added: defaultPinnedState

Flag added: getNodeList

Flag added: gridSnap

Flag added: gridVisibility

Flag added: keyReleaseCommand

Flag added: nodeTitleMode

Flag added: removeDownstream

Flag added: removeUnselected

Flag added: removeUpstream

Flag added: selectDownstream

Flag added: selectUpstream

Flag added: showNamespace

Flag added: toggleSelectedPins

Flag renamed: sn to sns

nodeIconButton

Flag added: version

ogs

Flag added: reloadTextures

playblast

Flag added: codecOptions

polyConnectComponents

Flag added: adjustEdgeFlow

Flag added: insertWithEdgeFlow

polyDuplicateEdge

Flag added: adjustEdgeFlow

Flag added: insertWithEdgeFlow

polyOptions

Flag added: displayMetadata

polyReduce

Flag added: invertVertexWeights

Flag added: keepBorderWeight

Flag added: keepColorBorder

Flag added: keepColorBorderWeight

Flag added: keepCreaseEdge

Flag added: keepCreaseEdgeWeight

Flag added: keepFaceGroupBorder

Flag added: keepFaceGroupBorderWeight

Flag added: keepHardEdgeWeight

Flag added: keepMapBorderWeight

Flag added: preserveTopology

Flag added: sharpness

Flag added: symmetryPlaneW

Flag added: symmetryPlaneX

Flag added: symmetryPlaneY

Flag added: symmetryPlaneZ

Flag added: symmetryTolerance

Flag added: termination

Flag added: triangleCount

Flag added: useVirtualSymmetry

Flag added: version

Flag added: vertexCount

Flag added: vertexMapName

Flag added: vertexWeightCoefficient

Flag removed: border

Flag removed: detail

Flag removed: line

polySelectEditCtx

Flag added: adjustEdgeFlow

Flag added: insertWithEdgeFlow

polySplit

Flag added: adjustEdgeFlow

Flag added: insertWithEdgeFlow

polySplitCtx2

Flag added: adjustEdgeFlow

Flag added: insertWithEdgeFlow

polySplitRing

Flag added: adjustEdgeFlow

Flag added: insertWithEdgeFlow

referenceQuery

Flag added: child

Flag added: dagPath

Flag added: editAttrs

Flag added: editCommand

Flag added: editNodes

Flag added: editStrings

Flag added: failedEdits

Flag added: filename

Flag added: isExportEdits

Flag added: isLoaded

Flag added: isNodeReferenced

Flag added: isPreviewOnly

Flag added: liveEdits

Flag added: namespace

Flag added: nodes

Flag added: onReferenceNode

Flag added: parent

Flag added: parentNamespace

Flag added: referenceNode

Flag added: shortName

Flag added: showDagPath

Flag added: showNamespace

Flag added: successfulEdits

Flag added: topReference

Flag added: unresolvedName

Flag added: withoutCopyNumber

requires

Flag added: dataType

Flag added: nodeType

sceneEditor

Flag added: control

Flag added: defineTemplate

Flag added: docTag

Flag added: exists

Flag added: filter

Flag added: forceMainConnection

Flag added: highlightConnection

Flag added: lockMainConnection

Flag added: mainListConnection

Flag added: onlyParents

Flag added: panel

Flag added: parent

Flag added: refreshReferences

Flag added: selectCommand

Flag added: selectItem

Flag added: selectReference

Flag added: selectionConnection

Flag added: shortName

Flag added: stateString

Flag added: unParent

Flag added: unlockMainConnection

Flag added: unresolvedName

Flag added: updateMainConnection

Flag added: useTemplate

Flag added: withoutCopyNumber

scriptNode

Flag added: ignoreReferenceEdits

scriptTable

Flag added: cellForegroundColorCommand

Flag added: cellIndex

Flag added: cellValue

Flag added: clearRow

Flag added: clearTable

Flag added: columnFilter

Flag added: columnWidth

Flag added: defineTemplate

Flag added: deleteRow

Flag added: docTag

Flag added: dragCallback

Flag added: dropCallback

Flag added: editable

Flag added: enable

Flag added: enableBackground

Flag added: excludingHeaders

Flag added: exists

Flag added: fullPathName

Flag added: getCellCmd

Flag added: height

Flag added: insertRow

Flag added: isObscured

Flag added: label

Flag added: manage

Flag added: multiEditEnabled

Flag added: noBackground

Flag added: numberOfPopupMenus

Flag added: parent

Flag added: popupMenuArray

Flag added: preventOverride

Flag added: rowHeight

Flag added: rows

Flag added: selectedCells

Flag added: selectedColumns

Flag added: selectedRow

Flag added: selectedRows

Flag added: selectionBehavior

Flag added: selectionMode

Flag added: sortEnabled

Flag added: underPointerColumn

Flag added: underPointerRow

Flag added: useDoubleClickEdit

Flag added: useTemplate

Flag added: visible

Flag added: visibleChangeCommand

Flag added: width

selLoadSettings

Flag added: deferReference

Flag added: fileName

Flag added: numSettings

Flag added: proxyManager

Flag added: proxySetFiles

Flag added: proxySetTags

Flag added: proxyTag

Flag added: referenceNode

Flag added: shortName

Flag added: unresolvedName

selectPref

Flag added: selectionChildHighlightMode

selectPriority

Argument type changed for byName from "" to "string boolean"

Flag added: queryByName

selectType

Argument type changed for byName from "" to "string boolean"

Flag added: queryByName

shelfButton

Flag added: flat

Flag added: version

skinCluster

Flag added: weightDistribution

snapMode

Flag added: meshCenter

spreadSheetEditor

Flag added: attrRegExp

stereoCameraView

Argument type changed for filteredObjectList from "boolean" to ""

Flag added: pluginObjects

Flag added: queryPluginObjects

Flag added: rendererDeviceName

Flag added: rendererOverrideList

Flag added: rendererOverrideListUI

Flag added: rendererOverrideName

Flag added: useCustomBackground

textField

Flag added: placeholderText

textFieldButtonGrp

Flag added: placeholderText

textFieldGrp

Flag added: placeholderText

textScrollList

Flag added: lineFont

timeControl

Flag added: greasePencilSequenceNames

Flag added: showGreaseFrames

Flag added: tickSpan

toolButton

Flag added: version

treeView

Flag added: allowMultiSelection

Flag added: item

Flag added: itemAnnotation

undoInfo

Flag added: chunkName

windowPref

Flag added: maximized

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License