03-05-2018
11:26 AM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
03-05-2018
11:26 AM
@Anonymous,
Sorry, I am very busy with work today. I will pick up on this later. The vla-get-latitude & vla-get-longitude only work with a geo-position marker. Which is probably the crude method I'm looking at approaching with since creating an entire geoid model seems excessive for me.
For you to play with...
Create a marker with GEOMARKOINT
get lat/long with your own code.
Hint:
(setq MyEnt (vlax-ename->vla-object (car (entsel "\nSelect your Marker: ")))) (print (strcat "\nLat: " (rtos (vla-get-latitude MyEnt)) "\nLong: " (rtos (vla-get-longitude MyEnt))))
Best,
~DD