pymel.core.windows.createEditor

createEditor(*args, **kwargs)

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 editorTemplatecommand.

Flags:
Long name (short name) Argument Types Properties
queueForDelete (qfd) bool ../../../_images/create.gif
 

The specified layout is put on a queue. When the queue is full, layouts past the end of the queue are automatically deleted. If the layout is already on the queue, it is moved to the front. This allows us to dispose of editors when they are no longer being used. This flag should only be used by the showEditor.mel script.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.createEditor

Example:

import pymel.core as pm

import maya.cmds as cmds

# The following command will create an attribute
# editor in someWindow|topLayout for curve2.
#
pm.createEditor( 'someWindow|toplayout', 'curve2' )

Previous topic

pymel.core.windows.control

Next topic

pymel.core.windows.currentMenuParent

Core

Core Modules

Other Modules

This Page