I have some code that selects some edges for some specific annotation, but I want to place it in a specific way based on if the edge is vertical or horizontal in the drawing view.
Anyone have any ideas?
Use Edge::GetEndVertex/Edge::GetStartVertex to get the pointer to IVertex interface and then Vertex::GetPoint to get the coordinate. Now just compare the values. If x1=x2 - the edge is vertical, if y1=y2 - edge is horizontal.
Application Engineer at Intercad
Tel: +61 2 9454 4444
Retrieving data ...