Adjust dashes is not possible via Scripting (SVG export dashes problem)
Hello,
it is not possible to use this function in the Stroke menu in Illustrator 2015 via Scripting:

This is the reason, why I use this Javascript function:
s.h's page : Scripts for Adobe Illustrator CS
Now I have a Problem, when I export a drawing in SVG format.
I have today a discussion in the Illustrator forum:
Export SVG changed the dashed line
The end of the discussion was, that the SVG export works, when I use the internal Illustrator function.
Unfortunately the SVG export does not work with the Javascript function.
I use the Javascript function in Illustrator. And the drawing looks fine in Illustrator:

But when I export the drawing in SVG Format, then center line is wrong:

When I adjust the dashes with the internal Illustrator function, then the SVG export looks fine.
Note: The drawing is imported in Illustrator from DWG format.
What can I do?
Can I use the internal Illustrator function in the newest Version via Scripting?
Is there an update of the Javascript function?
Any other workaround possible?
Best regards
Harald