Go to: Synopsis. Return value. MEL examples.

Synopsis

saveAttrPreset nodeName presetName autoRename

Saves the current settings of a node as an attribute preset. If autoRename is on, it will automatically try to generate a new name if the presetName exists. If autoRename is off, it will prompt whether or not to overwrite the file.

Return value

None

MEL examples

      saveAttrPreset fluidShape1 "fluffy" true;
      saveAttrPreset brush1 "myPaintBrush" false;