Go to: Synopsis. Return value. Flags. Python examples.
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
createEditor is undoable, NOT queryable, and NOT editable.This command creates a property sheet for any dependency node. The second argument is the name of the node, and the first is the name of a layout into which the property sheet controls should be placed. The property sheets created by this command can by user-customized using the editorTemplate command.
|Long name (short name)||Argument types||Properties|
|Flag can appear in Create mode of command||Flag can appear in Edit mode of command|
|Flag can appear in Query mode of command||Flag can have multiple arguments, passed either as a tuple or a list.|
import maya.cmds as cmds # The following command will create an attribute # editor in someWindow|topLayout for curve2. # cmds.createEditor( 'someWindow|toplayout', 'curve2' )