Start and End Point of a Line

Scott

Usenet Archive
Joined
Feb 29, 2000
Messages
606
Reaction score
0
Hi,

I have a lisp routine that lets the user select a single line using the ssget function. Is there a way to obtain the start and end coorinates of the selected line using lisp?

Thanks for the help!
 
look at help for DXF codes
(cdr (assoc 10 ...
(cdr (assoc 11 ...
etc
you'll be needing a lot more than start and endpoints as you progress with your lisp studies

theres' also vla-get-startpoint and vla-get-endpoint
lots of homework to do!
 

Latest threads

Back
Top