SVG, exporting paths on artboard?
EXAMPLE:
The groups bounding box overlaps the artboard, and those shapes will get exported into the SVG.
<rect class="cls-1" x="11.79" y="1.71" width="8.38" height="11.13"/>
<rect class="cls-2" x="0.5" y="0.5" width="3.21" height="8.29"/>
<rect class="cls-2" x="28.21" y="0.5" width="3.21" height="8.29"/>
I have noticed that using "Export..." will grab paths of grouped items whose bounding boxes overlap an artboard. I can select all paths on each artboard through script, but unsure if there is a way to call the "Export Selection" on these paths as SVG through script?
I have seen suggestions to hide-and-unhide paths to exclude them from the SVG export, but that seems dirty... and I will be batching over 10,000 artboards, and prefer a cleaner solution... if such solution exists?
Thanks!
scott