I have a 3D sketch with some sketch points and a sketch segment. I am needing to place a dimension from both ends points of the sketch segment to different sketch points. I need to get the point ID of the endpoints of the sketch segment. From the documentation and examples I've seen, they all gather every sketch point in a sketch. How can I just get the ID of the sketch segment endpoints?
Edit: I guess a work-round is to collect all the sketch point ID's into a variant and just remember that the last two belong to the sketch segment.
SolidworksApi/macros