AnsweredAssumed Answered

VBA Get Selected Line Coordinates

Question asked by Cody Pannell on Oct 26, 2020
Latest reply on Oct 26, 2020 by Artem Taturevych


I've been trying to find a way to get the 2 coordinates of the end points of a pre-selected line inside of a sketch in a part. Admittedly I have little API knowledge, but some VBA knowledge. Lots of Google searching hasn't helped me too much. I've found some scripts that get the all of the sketch points in a selected sketch, but I want to already be in the sketch and pick a single line.

In the end, my goal is to do some operations on that line, such as apply a dimensioned jog line and fillets. 

Any help is much appreciated!