confirming the options dialog with (usually without further settings) But this way always needs additional confirmations by the user:
But it is possible to create a brush with an action. Adobe Extendscript cannot be used to create or delete a brush. Since this process is rare, but needs to be done over and over again, I wanted to create a script. group the selection and name the group as desired use the menu command Object -> Expand Appearance assign the newly created brush to the original dashed line (or its duplicate) create an artbrush from this line (option: Artbrush, no further options, usually just confirm twice) remove the dash line attribute from the straight line (helper object) draw a horizontal straight line (helper object) (optionally) create a duplicate and turn off the visibility of the original Unfortunately, these scripts are not an option either, because the results sometimes differ from the originals.įor several years I have used the manual way to break up a dashed line into single (real) lines: I also know some existing scripts that try to redraw the dash line. This way still creates filled rectangles and not real lines and is therefore unsuitable. Please do not reply to suggest the way to set the outline thickness to a very small value e.g. Illustrator does not offer a direct way to convert dashed lines (e.g.