Anuncios

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

Display X ,Y, Z coordinates

Anonymous

Display X ,Y, Z coordinates

Anonymous
No aplicable

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?

0 Me gusta
Responder
693 Vistas
8 Respuestas
Respuestas (8)

maxim_k
Consultant
Consultant
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
0 Me gusta

Anonymous
No aplicable
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.

0 Me gusta

maxim_k
Consultant
Consultant
>>>>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
0 Me gusta

maxim_k
Consultant
Consultant
>>>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
0 Me gusta

maxim_k
Consultant
Consultant
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
0 Me gusta

Anonymous
No aplicable
Sure. I will send the floor map soon. Thanks!
0 Me gusta

Anonymous
No aplicable
Hi,

Attached you can find the floor map. Look forward to hearing back from you.
0 Me gusta

maxim_k
Consultant
Consultant
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
0 Me gusta