×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Export of co-ordinates and attributes

Export of co-ordinates and attributes

Export of co-ordinates and attributes

(OP)
Is it possible to export the co-ordinates of a block along with its attributes to the same file. (or seperate files easily combined).

I have a block which contains names of property which are home to septic tanks (very interesting I know) and I want to extract the information (along with the evelation and depths which are also stored as attributes) so the names of the property sit alongside the co-ordinates of the centre of the tank in the output file.

Cheers. Sean.

RE: Export of co-ordinates and attributes

The answer is it is possible. The ability to do what you want is not totally built in though. You may need to program parts of it. Attibute extraction is in the Express tools. Block insertion points will need to be pulled.

"Everybody is ignorant, only on different subjects." — Will Rogers

RE: Export of co-ordinates and attributes

(OP)
Problem is after obtaining the co-ordinates they then have to be matched to each respective extracted attribute (which contains the property name). I've noticed that when you extract or export the attributes from a block theres a column called 'handle' defined individually for each block in a '34d6 type format.

If I can extract the coordinates at the same time as obtaining that handle value, it would be easy.

Any idea where the handle comes from / is stored for a block (or is it individual for each attribute extraction.)

You suggest programming - thats where I slip up. Do you have any code which does just the extraction of co-ordinates?

Cheers. Sean.

RE: Export of co-ordinates and attributes

When you say coordinates, do you mean the insertion point of a block? You might also want to post a sample of the block somewhere where we could take a look at it.

"Everybody is ignorant, only on different subjects." — Will Rogers

RE: Export of co-ordinates and attributes

(OP)
Thats correct (the insertion point which represents the centre manhole). Where / how do I post the block?

Cheers. Sean.

RE: Export of co-ordinates and attributes

You can mail to me at borgunit2003%ignoreme%at%yahoo

"Everybody is ignorant, only on different subjects." — Will Rogers

RE: Export of co-ordinates and attributes

extracting x,y,z coordinates for blocks is a very easy process using eattext. you can extract attribute and general block properties to an autocad table or excel spreadsheet.

RE: Export of co-ordinates and attributes

(OP)
Wonderful for the attributes - I'd forgotten about eattext, but no co-ordinates - am I doing it wrong?

Cheers. Sean.

RE: Export of co-ordinates and attributes

(OP)
Answer to my own question - yes I am doing it wrong - just fill the xyz fields for extraction.

An extra question though. Can the table be edited and the blocks updated from those edits (rather than the blocks being changed and the table updated from them - much quicker)

Cheers. Sean.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources