Gelicider schrieb 1. It turns on Shape Dynamics and Scattering and turns off any other parameters (Transfer, Dual Brush, etc.) This is also a big problem for me. As I can see "Scattering" and "Smoothing" will be turned on, all others off. I'm using this function (found in the forum here): function SetPaintBrush(mode, opacity, flow, penopacity, pensize, penair) { var idset = stringIDToTypeID("set"); var desc226 = new ActionDescriptor(); var idnull = stringIDToTypeID("null"); var ref170 = new ActionReference(); var idPbTl = stringIDToTypeID("paintbrushTool"); ref170.putClass(idPbTl); desc226.putReference(idnull, ref170); var id12 = stringIDToTypeID("to"); var desc5 = new ActionDescriptor(); // opacity var id13 = stringIDToTypeID("opacity"); var id14 = stringIDToTypeID("percentUnit"); desc5.putUnitDouble(id13, id14, opacity); // blend mode var id15 = stringIDToTypeID("mode"); var id16 = stringIDToTypeID("blendModel"); var id17 = stringIDToTypeID(mode); desc5.putEnumerated(id15, id16, id17); // flow var id19 = stringIDToTypeID("flow"); desc5.putUnitDouble(id19, id14, flow); // pressure for opacity desc5.putBoolean(stringIDToTypeID("usePressureOverridesOpacity"), penopacity); // pressure for size desc5.putBoolean(stringIDToTypeID("usePressureOverridesSize"), pensize); // enable air brush desc5.putBoolean(stringIDToTypeID("repeat"), penair); var id18 = stringIDToTypeID("null"); desc226.putObject(id12, id18, desc5); executeAction(idset, desc226, DialogModes.NO); } It happens the same.
... View more