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

Synopsis

deleteAttrPattern [-allPatterns] [-patternName string] [-patternType string]

deleteAttrPattern is undoable, NOT queryable, and NOT editable.

After a while the list of attribute patterns could become cluttered. This command provides a way to remove patterns from memory so that only the ones of interest will show.

Return value

string Name(s) of deleted pattern(s)

Keywords

attribute, pattern

Related

addAttr, addExtension, applyAttrPattern, createAttrPatterns, listAttrPatterns

Flags

allPatterns, patternName, patternType
Long name (short name) Argument types Properties
-allPatterns(-all) create
If specified it means delete all known attribute patterns.
-patternName(-pn) string create
The name of the pattern to be deleted.
-patternType(-pt) string create
Delete all patterns of the given type.

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

deleteAttrPattern -patternType "xmlPattern";
// Result: myXMLPattern myOtherXMLPattern //
deleteAttrPattern -patternName "myJSONPattern"
// Result: myJSONPattern //