Macro to select all splines

I am looking for a macro to select all splines in a sketch so that they can be deleted. Please note that sometimes the splines are conctruction geometry.

Thank you

SolidworksApi macros