PDA

View Full Version : Edit polyline by bearing



BILLYJOW
2012-11-12, 03:17 PM
Hey, guys.

Does a routine exist where the user is prompted to pick a point to start a polyline and then prompted to select a text file with distances and bearings to draw the remaining segments of the polyline.

Often, I draw legal descriptions (for properties) by invoking the "pline" command, selecting a start point, and drawing the additional polylines using surveyor's units at the command prompt such as:
@500
It would be very nice to be able to type these segments into a text file and bring them into the drawing after picking a start point for the polyline. Thanks in advance for any help.

cadtag
2012-11-12, 04:20 PM
sounds like a golden opportunity to use a script. use a (getpoint) after the pline command in your script so you can pick or enter the start point, and then feed in the bearings/distances.

ex: property.scr

(setvar "aunits" 4)
PLINE
(getpoint)
@80<s45d32'12"E
...keep going with other segments.

leave a blank line at the end