Anonymous
688 Vistas, 8 Respuestas
02-28-2018
09:06 PM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
02-28-2018
09:06 PM
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?
02-28-2018
10:43 PM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
02-28-2018
10:43 PM
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
Etiquette and Ground Rules of Autodesk Community
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
Etiquette and Ground Rules of Autodesk Community
03-01-2018
11:27 AM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
03-01-2018
11:27 AM
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.
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.
03-01-2018
12:18 PM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
03-01-2018
12:18 PM
>>>>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
Etiquette and Ground Rules of Autodesk Community
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
Etiquette and Ground Rules of Autodesk Community
03-01-2018
12:23 PM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
03-01-2018
12:23 PM
>>>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
Etiquette and Ground Rules of Autodesk Community
>>>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
Etiquette and Ground Rules of Autodesk Community
03-01-2018
01:19 PM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
03-01-2018
01:19 PM
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
Etiquette and Ground Rules of Autodesk Community
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
Etiquette and Ground Rules of Autodesk Community
03-01-2018
08:25 PM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
03-01-2018
08:25 PM
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
Etiquette and Ground Rules of Autodesk Community
Maxim
Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.
Maxim Kanaev
Architect
MARSS
Etiquette and Ground Rules of Autodesk Community