Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

createEditor [-queueForDelete] string node

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.

Return value

None

Flags

queueForDelete
Long name (short name) Argument types Properties
-queueForDelete(-qfd) create
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 command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// The following command will create an attribute
// editor in someWindow|topLayout for curve2.
//
createEditor someWindow|toplayout curve2;