Find the center of an XRef?

Discussion in 'AutoCAD' started by zeb7k, Sep 22, 2007.

  1. zeb7k

    zeb7k Guest

    Hi, I'd like to put a MText label over the center of each of a few
    dozen Xrefs in my drawing --programmatically.
    Something akin to the extmin & extmax of the Xref divided by 2
    (accounting for rotation) would do it. So I guess I'm asking is
    there a way for me to peak at the extmin & extmax of an Xref without
    opening the Xref drawing?
    I still like AutoLISP but I can do VBA if prodded. I got AC2K.

    --zeb
     
    zeb7k, Sep 22, 2007
    #1
  2. If they're all the same you could make a block with the insertion positioned
    relative to the XREF insertion to do the job.
     
    Michael Bulatovich, Sep 22, 2007
    #2
  3. zeb7k

    zeb7k Guest

    Thanks for the thought but all counted I have hundreds of Xrefs and
    changing their insertions would necessitate editing hundreds of
    drawings. Also a center origin for the drawings is not as useful in
    most cases (except this one).
     
    zeb7k, Sep 23, 2007
    #3
  4. I said, "If they're all the same.....", then you wouldn't be changing
    anything. Don't know what you mean about "center origin".
     
    Michael Bulatovich, Sep 23, 2007
    #4
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.