Extract Attributes?

Discussion in 'AutoCAD' started by Jesse, Jan 14, 2004.

  1. Jesse

    Jesse Guest

    How can you extract attributes that are in an xref part?
    I tried using _attext to export the attributes into a text file but it can't
    find them. If I insert the block then it works fine?
    Thanks
    J
     
    Jesse, Jan 14, 2004
    #1
  2. Jesse

    Jamie Duncan Guest

    why wouldn't you bind the xref to an insert, extract to a ,txt, and then
    undo the bind?

    --


    Jamie Duncan

    Consulting - If you're not part of the solution, there's good money in
    prolonging the problem.
     
    Jamie Duncan, Jan 15, 2004
    #2
  3. You would have to iterate over blocks in the 'local' drawing, then iterate
    over the BlockTableRecord of each xref (BlockReference), find each block w/
    attributes, and iterate over the attributes... shouldn't be too terribly
    difficult... I would imagine that it could be done in lisp or vba...
    however, I am out of practice with those.
     
    Martin Schmid, Feb 7, 2004
    #3
  4. Jesse

    liftedaxis Guest

    If you email me a sample file, I can see if our AttCount utility will correctly work for you:

    --Jeremiah
     
    liftedaxis, Feb 8, 2004
    #4
  5. Jesse

    OLD-CADaver Guest

    odd little quirk that I wouldn't depend on...

    Bind the XREF as an INSERT, then use the express toll to turn a block into an XREF. The attributes stay attributes and are extractable with EATATTEXT.
     
    OLD-CADaver, Feb 9, 2004
    #5
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.