I'm trying to add relations between pairs of sketch segments. I've noticed that the add relation methods require entities as arguments. However, I only have references to sketchSegments and I can't figure out how to get from one to the other.
SolidworksApi macros