How to assign an "identity" to an item?

Discussion in 'AutoCAD' started by Martin, Jul 22, 2004.

  1. Martin

    Martin Guest

    The specific question: using Autocad 2000, how can an "identity"
    (handle/label/name/ID) be associated with a rectangle (or line) such
    that it shows up in a DXF export?

    More info: I am not an Autocad user. I need to know the X & Y
    coordinates of hundreds of rectangles and lines in some drawings
    created by a co-worker. I've studied the DXF file format and have
    figured out how to extract the info I need (using a little Visual
    Basic program). But, it's difficult for me to know exactly WHICH line
    or rectangle I'm working with. If the drafter could assign an
    pre-determined identity to each one (in the drawing), then I could
    extract that also and proceed with what I need to do.

    I see that each "entity" in the DXF file has a "handle". But it
    appears that Autocad assigns this value. I need something that can be
    assigned as a known value (like "ABC123").

    Any suggestions?
     
    Martin, Jul 22, 2004
    #1
  2. Martin

    bestafor Guest

    HiHo;
    XDATA will do that and more.
     
    bestafor, Jul 23, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.