Hi everyone,
I'm trying to write a macro (VBA) to find line located in an area of a drawing and change their properties.
The coordinates are the only attributes that enables me to select the needed line among the other lines in the drawing.
I have recently done a similar work with texts and I succeded.
I used the "Selection.search" command to select all texts and then:
Selection.Item(i).Value.X to access to the coordinates (same for Y).
I'am using a similar approach to select all lines.
But then, I don't find the attributes to access the coordinates of the points of the line:
Selection.Item(i).Value.???
Does anybody know how to manage that ?
Thank you very much for your help.
Anthony
I'm trying to write a macro (VBA) to find line located in an area of a drawing and change their properties.
The coordinates are the only attributes that enables me to select the needed line among the other lines in the drawing.
I have recently done a similar work with texts and I succeded.
I used the "Selection.search" command to select all texts and then:
Selection.Item(i).Value.X to access to the coordinates (same for Y).
I'am using a similar approach to select all lines.
But then, I don't find the attributes to access the coordinates of the points of the line:
Selection.Item(i).Value.???
Does anybody know how to manage that ?
Thank you very much for your help.
Anthony