Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

CodeDing
en respuesta a: Anonymous

@Anonymous,

 

Looks great! Don't forget to clean up that geomarker when you're done using your code.

 

If you're not already, I expected you to be looping this. Here's my take...

 

Good luck! Glad to help. If you need anything or wanna share don't hold back. I enjoy learningthis stuff also

 

Best,

~DD

 

(defun c:EZLL ()
(setq Userpt t); initial non-nil value
	(while Userpt ;while user still wants points
	(if (listp Userpt) ;check if it's a list, and not nil
	  (progn ;do stuff
	  	(print (get_coordinates_from_point Userpt));your function
	    	;do stuff with Lat/Long
	  );progn
	);if
	(setq Userpt (getpoint "\nSelect point <enter to Exit>: "));user will select a point
	);while
(princ)
);defun