I am able to bulk import hundreds of SVGs using a script with the command:
bpy.ops.import_curve.svg(filepath = path_to_file)
However, this results in multiple unneeded collections and unnamed curves like this:
3D_Printer.svg Collection
Curve.1
Biometrics.svg Collection
Curve.2
Drones.svg Collection
Curve.3
Manually deleting all the collections would just leave the unnamed curves:
Curve.1
Curve.2
Curve.3
Is there some way, possibly through a modified SVG script or rename/collection script to get a result like:
3D_Printer.svg
Biometrics.svg
Drones.svg
My SVGs are optimized so there is only one curve per file, so the extra collections and generically named curves are quite inconvenient. I'm not sure which is easier, modifying the io_curve_svg scripts, or creating a script to rename the curve and collapse the collection after the fact.