CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedGEOCODE VLX

 Post Reply Post Reply
Author
Kirk.Gustafson View Drop Down
Newbie
Newbie


Joined: 09.Feb.2015
Location: United States
Using: AutoCAD Map3D
Status: Offline
Points: 2
Direct Link To This Post Topic: GEOCODE VLX
    Posted: 09.Feb.2015 at 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...

Command: geocode

Reverse geocoding of picked points
Current coord.system is: UTM83-16F
Pick a point to rev.geocode <ENTER to exit>:
Address: 1892 Hughes Road, Columbus, MS 39702, USA
Pick 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-"

Any suggestions??  (BTW, I am using this in AutoCAD Map 3D 2012).

Thanks!


Edited by Kirk.Gustafson - 09.Feb.2015 at 23:12
K. Gustafson
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2118
Direct Link To This Post Posted: 10.Feb.2015 at 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:
 
(while (setq p1 (getpoint "\nNext point:"))
(setq p1 (ade_projptforward p1)  p1 (list (cadr p1)(car p1)))
(PRINT (revgeocodeLL p1))
)
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,063 seconds.