Anuncios

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

Creating an external table with correct UCS coordinates for blocks

Anonymous

Creating an external table with correct UCS coordinates for blocks

Anonymous
No aplicable

Greetings to all,

 

After not succeeding, I decided to come here for help with a fairly silly think I'm trying to do: I have a drawing filled with blocks, each one tagged with a number (its the same block, all differentiated by the number contained in the tag), and now I need a table containing those numbers and the xy coordinates for each.

 

Ive tryed using dataextraction but noticed one major issue:

These blocks were input into the drawing in batches, and as I was inputing these, I kept changing the UCS. After inputing everything, I have now set a new UCS that I want to call my 0-0 point - and thats the point I want the table to relate to. However, as Im trying to export the data, I have realized the coords there are not respecting the now newly UCS set for the file - instead of that, I'm getting numbers related to those past multiple UCS I used while drawing those block batches.

 

Is there a way for me to export a table at this point listing me the block tags (numbers) and their current position in relation to the current single UCS set for the file?

 

I'd appreciate any help at this point and have also added the file for checking!

 

Thanks in advance,

Joao

0 Me gusta
Responder
641 Vistas
4 Respuestas
Respuestas (4)

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

please follow these steps:

  • create an UCS in your current dwg-file, the coordinate system you want to get the coordinates for in your table.
  • Then run command _COPYBASE with point 0,0,0
  • Now create a new drawing
  • Run command _PASTECLIP with point 0,0,0
  • From that new drawing run command _DATAEXTRACTION

 

HTH, - alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Me gusta

ChicagoLooper
Mentor
Mentor

You should re-insert the points.

 

There are two red flags fluttering violently in the wind.

  1. Your units are feet and inches and although it can be done, it is not considered to be 'best practice' when you want to extract coordinates. Put the units in all feet or all inches, not a mixture of both. Feet with two significant digits would work fine for you, e.g. 6.5' equals 6'-6", 12.25' equals 12'-3" etc.
  2. Your coordinate system is not in WCS. The current UCS is unnamed. This could mean you have some points referenced to one 0,0 and some points referenced to another. There is no telling if you used a third 0,0 point when inserting the points, but that possibility does exist. When you extract the coordinates, they will be messed up and it'll be much easier to re-insert the points. once you have completed inserting the points, extracting the coordinates will be easy.

Chicagolooper

EESignature

0 Me gusta

Anonymous
No aplicable

Thanks so much for the suggestion Alfred,

 

I have tried this and unfortunately, all blocks kept the same old reference, meaning their xy position still kept pointing all over the place.

 

0 Me gusta

Anonymous
No aplicable

Thanks for the help Chicagolooper,

 

I ended up taking the advice of plotting all blocks again. This took me some time but at least it did the trick. Once I was finished, I gotta say the fact that measurements were in feet+inch was not an issue at all, meaning the only issue with the first file was that I had changed the UCS multiple times while inserting blocks.

 

The frustrating part about this is that even with those first blocks when I clicked on them, their properties tab was actually showing their correct XY position. It is very painful to see the software recognizing the information you need to extract, but not being able to compile them into the lists. Very frustrating!

 

Thanks for the help too!

0 Me gusta