# ACAD block with world coordinates

## Recommended Posts

Hi all,

I'm new to the site. I'm setting out attribute block on a plan and would like to extract the world coordinates of the insertion of the block in to a cad table in the same drawing.

thanks AW

##### Share on other sites

There is probably a LISP routine that does that easily for you but I can't use LISP as I'm on LT but I do it long hand by

Creating your table with columns for X & Y

in the first column enter = to start a formula

ctrl f to bring up fields

select object from the first column

click the icon over the second column

select the point from the drawing

select position from the second column

set up the format eg. decimal

deselect the relevent x,y,z coords from the third column

OK

then [/1000] to change to milimetres

[enter]

and that should work!

You can put all of the coordinates in the table if you don't untick any of the x,y or z options but then I'm not sure about the dividing by 1000 or applying any other scaling factors you may need.

Hope that helps.

##### Share on other sites

Oh doing it the way above also updates the coordinates if the block moves so it is quite handy.

##### Share on other sites

I love fields!!! I would marry them if it were possible

##### Share on other sites

Many many thanks for your tip, it took me very close to where I wanted to get. However I don't seem to be able to get what I'm after: a table with 3 columns, the first with the tag name, second with 'x' coordinate, third with 'y' coordinate. Following your instructions I only get both coordinates in the same column... any idea what I'm doing wrong, how to achieve the table with 3 columns I described above? If you could point me in the right direction I would much appreciate it!!

There is probably a LISP routine that does that easily for you but I can't use LISP as I'm on LT but I do it long hand by

Creating your table with columns for X & Y

in the first column enter = to start a formula

ctrl f to bring up fields

select object from the first column

click the icon over the second column

select the point from the drawing

select position from the second column

set up the format eg. decimal

deselect the relevent x,y,z coords from the third column

OK

then [/1000] to change to milimetres

[enter]

and that should work!

You can put all of the coordinates in the table if you don't untick any of the x,y or z options but then I'm not sure about the dividing by 1000 or applying any other scaling factors you may need.

Hope that helps.

##### Share on other sites

In the cell for the X coordinate bring up field pop up box (ctrl +F) under the third column of the box untick the y and z and that should only leave the x coordinate visible in the cell, then repeat for the y column (you may be able to drag or copy the 'x' cell) and untick the x selection box and tick the y selection box. At lunch if you're still having problems I'll do some screen shots unless someone else can explain it better

Hope this helps.

##### Share on other sites

Glen,

Thanks a lot for that and it seems to be working.

Kind regards,

Athula

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.