Display full version of the post: GEOCODE VLX

Kirk.Gustafson
09.02.2015, 23:11
Hi,I have downloaded and installed the Geocode VLX file, and using it from the command line works great.  I have not had any success using the lisp functions described in the README.txt file.  Specifically, I'd like to be able to use the (revgeocode (getpoint)) function in a lisp routine.  Here are the results using the command line version, and then using the lisp version, picking exactly the same point...[code]Command: geocodeReverse geocoding of picked pointsCurrent coord.system is: UTM83-16FPick a point to rev.geocode <ENTER to exit>:Address: 1892 Hughes Road, Columbus, MS 39702, USAPick a point to rev.geocode <ENTER to exit>:Command:Command: (revgeocode(getpoint))Unknown command "GEOMARKPOINT".  Press F1 for help.Unknown command "GEOCODE".  Press F1 for help."-no-geopos-"[/code]Any suggestions??  (BTW, I am using this in AutoCAD Map 3D 2012).Thanks!
Kirk.Gustafson2015-02-09 23:12:32

Vladimir Michl
10.02.2015, 09:11

The (revgeocode) function depends on the LiveMaps functionality available only in the AutoCAD 2014 family (and higher). You can also try the (revgeocodeLL) function - just add "LL". If it gives wrong results, try the following: [CODE](while (setq p1 (getpoint "\nNext point:"))(setq p1 (ade_projptforward p1)  p1 (list (cadr p1)(car p1)))(PRINT (revgeocodeLL p1)))[/CODE]