@mehsan wrote:
I have an arch which is runinng between four lines when i trimed the inside portion how can i know the point1 and point2.
....
The information about an Arc is stored with it running in the counterclockwise direction, no matter how it was drawn. When you Break or Trim a piece out of the middle of an Arc, the portion at the beginning end of that [the clockwise-ward end] keeps the same entity name as the original Arc, and the "downstream" remaining portion becomes a new entity, which is then the last entity in the drawing.
So if you selected the Arc before Trimming it, and put its entity name into a variable, with something like:
(setq arc1 (car (entsel "\nSelect Arc to Trim: ")))
then you can do this:
(vl-load-com); [if needed]
(setq
Point1 (vlax-curve-getStartPoint (entlast))
Point2 (vlax-curve-getEndPoint arc1)
); setq
[It can also be done without the (vlax-curve-...) functions, with more code.]
Kent Cooper, AIA