Hello,
Please someone write code to determine the length of the sides and the coordinates of the vertices of a triangleGreetings!
Sub lengthofthesidescoordinatesofthevertices() Dim s As Shape, n As Node, seg As Segment Set s = ActiveShape For Each n In s.DisplayCurve.Nodes Debug.Print n.Index, n.PositionX, n.PositionY Next n For Each seg In s.DisplayCurve.Segments Debug.Print seg.Index, seg.Length Next segEnd Sub
Thank You, for this code!