How to get xy coordinates for circle or any shape from Autocad 2013

Status
Not open for further replies.

sapphire_2010

Member level 4
Joined
Jan 31, 2010
Messages
79
Helped
11
Reputation
22
Reaction score
11
Trophy points
1,288
Activity points
1,777
Hi fellows,

I would like to know, how to get xy location (co-ordinates) of circles or any shape drawn in DXF, using Autocad 2013. Is that possible to export Autocad DXF/DWG in text format to get those locations? I have dxf provided by my client & they may want to get xy location of those shapes.
Any help would be appreciated.

Thanks.
 

Hi marce,

I have attached the dxf. Around 1000+ shapes/circles.

thanks
 

Attachments

  • map_xy.zip
    25.4 KB · Views: 113

Autolisp would be your friend here, its 15 years since I last did some programing in it so I am rather rusty (very), or manually extract the data from the dxf, the relevant text for each pad (is it a BGA?) is:

AcDbBlockReference
2
MYPAD__1_
10
341.60562
20
471.7369299999999

10 = x co-ordinate 20 = y

Or find a friendly person who can manipulate data, looking in detail at the dxf data it has been created from a PCB design or PCB component, the quickest way would be to:
A: Output an excellon format file from the PCB data such as this...
 

Attachments

  • x.txt
    16.9 KB · Views: 104
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…