TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: autolisp user on March 12, 2019, 11:47:34 PM

Title: create survey figure from two selected points OR 2d polyline object in autolisp
Post by: autolisp user on March 12, 2019, 11:47:34 PM
I am writing a program and part of it requires creating a survey figure from two points that are selected.  How can I go about this in autolisp?  I know about the command createsurveyfigure but unsure how to go about it in autolisp in therms of what values to pass to it if called in autolisp?  Maybe create an object with aecc_svfigure type?  I just need to know the code to go about creating a survey figure object from two selected points.


Also, while not as important as the above question, if code can be provided for creating a survey figure from a 2d polyline, that would be great.  Thank you!