Jump to content

Recommended Posts

Posted

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.

Please help,

thanks AW

Posted

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.

Posted

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

Posted

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

Posted

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!!

Many thanks in advance!!!

 

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.

Posted

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.

Posted

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...