Anuncios

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

Anonymous
688 Vistas, 8 Respuestas

Display X ,Y, Z coordinates

Hi,

 

I am new to AutoCAD and what I am trying is to extract X, Y, Z coordinates from the floor map drawings (.dwg). Can someone describe how can I display that information and if possible, export them in json?

maxim_k
en respuesta a: Anonymous

Welcome to Autodesk Forums!

Hi,

If you are using full AutoCAD (not LT) you can use custom AutoLISP routine for this. With AutoLISP you can extract coordinate information of the specific objects in the drawing an write it at least to a text file.
In order to create such routine you should provide full information about objects whose coordinates you want to extract - are them points, blocks with attributes or something else?
You also can try to find ready made AutoLISP routine, but some routines written for AutoCAD for PC will not work in AutoCAD for Mac.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
Anonymous
en respuesta a: maxim_k

Hi,

Thank you for your reply. I have a very basic question, though.

What is AutoLISP? You also mentioned finding ready made AutoLISP routine
but, routines written for AutoCAD for PC will not work.

Is there any other way then using AutoCAD to extract coordinates? I see the
coordinates in the bottom right.

maxim_k
en respuesta a: Anonymous

>>>>What is AutoLISP?
Here is wiki article about AutoLISP:

https://en.wikipedia.org/wiki/AutoLISP

Can you share your sample drawing? I'll look at it.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
maxim_k
en respuesta a: Anonymous

>>>You also mentioned finding ready made AutoLISP routine
>>>but, routines written for AutoCAD for PC will not work.

Most of the modern AutoLISP routines are based on Visual LISP functions (extended AutoLISP functions related to ActiveX support), which are not supported on Mac.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
maxim_k
en respuesta a: Anonymous

I have found AutoLISP file which works in AutoCAD for Mac.
It extracts coordinates from POINT objects and writes them to text file. In order to ensure that this routine will work for you I need one of your files to check what kind of objects you have in it.
Later I can explain how to use the routine.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
Anonymous
en respuesta a: maxim_k

Sure. I will send the floor map soon. Thanks!
Anonymous
en respuesta a: maxim_k

Hi,

Attached you can find the floor map. Look forward to hearing back from you.
maxim_k
en respuesta a: Anonymous

Sorry, but you forget to attach the file to your last post.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community