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 noCloseOnDelete / nc bool queueForDelete / qfd bool 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 have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.createEditor
Example:
import pymel.core as pm # The following command will create an attribute # editor in someWindow|topLayout for curve2. # pm.createEditor( 'someWindow|toplayout', 'curve2' )