Search the Community
Showing results for tags 'plotting scale'.
Subiran posted a topic in AutoCAD Drawing Management & OutputHi. I'm a beginner in CAD, I'm going to ask how to draft a lot using the coordinates(latitude and longitude) from google earth. Example: Point A. Latitude: 11 Degree 18'2.22"N Longitude: 124 Degree 57'46.89"E Please check my attachment picture.
I have a lisp code here that computes the plotting scale for a certain lot (surveying). My problem is that I don't know how to round up the values to the nearest hundreds or thousands to obtain the scale. For example, If my lisp computes the scale to be 45, It will show 100, when it computes 327, it must show 400, when it computes 923, it must show 1000, when 1134 it must show 1200. Can anyone help me with this? Here's the code by the way. THANK YOU GUYS! (defun c:ss ( / xn xs xx diff) (setq xn (getpoint "\Pick the point on the extreme north of the lot boundary:")) (setq xs (getpoint "\ Pick the point on the extreme south of the lot boundary:")) (setq xx (getpoint "\Pick insertion point")) (setq diff (/ (- (cadr xn) (cadr xs)) 0.3)) (command "text" "" "" diff) (princ) )