I need your help in macros creation which will include two things:
1. PEN appears to be an active instrument in case of actuation
2. This instrument follows up my actions and in case I enter an 3 nodes some action activates. (and I need to get coordinates of nodes)
Sorry for my english
If you run this macro after you had drawn a curve with the 'Pen Tool' and selected it, do you get what you want?
Sub Test()Dim CurSh As Shape, i As IntegerSet CurSh = ActiveShapeFor i = 1 To CurSh.Curve.Nodes.Count MsgBox Format(CurSh.Curve.Nodes(i).PositionX, "0.00") + " " + Format(CurSh.Curve.Nodes(i).PositionY, "0.00")Next iEnd Sub
I know how to work with ready-made curve. ButI need to have drawn a maximum of 3 points, and there was a trigger.
Thank you. Spasibo bolshoe