SVG exporting of path points
Illustrator SVG asset exporter doesn't export single-point paths.
My work system reads SVG files' layer and object names as IDs. In these files, I create a single point with the pen tool to use the x,y values as coordinate data. (This object is graphically a Path with a single anchor point.) I'll also create paths with 2 or more points in these files. When I export these objects using the asset exporter, the paths with a single point doesn't get exported, while paths with 2 or more points export successfully. When using SaveAs>SVG it does export the paths with a single point but it is created as the larger bloated SVG file variant (sorry, I don't know the SVG variant types to properly refer them here).
Steps to repro:
1) New file
2) Create a point with the pen tool
3) Rename that object as "SinglePointTest"
4) Create a path with 2 points with the pen tool
5) Rename that object as "TwoPointTest"
6) Open Asset Exporter
7) Select both objects and 'generate a single asset from selection' (plus sign icon)
8) Launch Export for Screen Dialog (icon next to the export button)
9) Click on the Settings icon (gear icon) aka Advance settings for exported file types
10) For the SVG format settings, set the following:
Styling: Internal CSS
Font: SVG
Images: Preserve
Object ID: Layer Names
Decimal: 5
Uncheck Minify
Check Responsive
Save Settings
11) Add 'SVG' as a format>Select Asset>Export Asset Button
12) View the SVG code in the exported file and check for both objects: "TwoPointTest" and "SinglePointTest"
Result: "SinglePointTest" object is missing
Expected Result: Both objects are present in the SVG code.
I tried the same above test but using Save As>SVG and it includes both objects but in a bloated SVG code file. For my work purposes, it must be in the simpler SVG code variant and I must use the Asset Exporter since I routinely batch export multiple assets at a time.
Bonus information:
This all worked in the 2017 version of Illustrator (v 21.1.0) but not in any of the releases following that. Fast foward to present day, I'm needing to use the newest version of Illustrator (2020, v 25.0) and am finally tapping into these forums/support to sort this out.