How can I differentiate via API if a curve or a line is selected (each are edges)?
I don't think there is an entity type enumeration for the edges (but I've been wrong so manu times !) but I know there is one for sketch entities.
2017 SOLIDWORKS API Help - swSketchEntityType_e Enumeration
Quite ugly but, you can convert this edge in a 3dsketch then use GetType ISketchSegment
2017 SOLIDWORKS API Help - ISketchSegment Interface Members
Does this help?
2018 SOLIDWORKS API Help - Get Edge Curve Parameterization Example (VBA)
2018 SOLIDWORKS API Help - swCurveTypes_e Enumeration
Thank you! I solved it with Robs comment!
Retrieving data ...