When I add dimension on the 2D drawing, for example add diameter dimension of a shaft, sometimes select the edge failure, even the X,Y,Z vaule were exactly right. why?
I used "SelectByID2", and the "Type" I try to use "EDGE" and "SILHOUETTE", of course, mostly it works while sometimes it doesn't work.
SolidworksApi macros