XREF Attached?

Discussion in 'AutoCAD' started by dean_bourke, Feb 10, 2005.

  1. dean_bourke

    dean_bourke Guest

    Hi,
    I am trying to determine if an attached xref is actually attached in the host drawing or through an overlay.

    Any ideas?
     
    dean_bourke, Feb 10, 2005
    #1
  2. dean_bourke

    T.Willey Guest

    This is how I did mine.

    (setq cnt1 T)
    (while (setq tbl1 (tblnext "block" cnt1))
    (if (= (logand 8 (cdr (assoc 70 tbl1))) 0)
    (setq btype2 "Attach")
    (setq btype2 "Overlay")
    )
    (setq cnt1 nil)
    )

    This is just part of my code. Hope it helps.
    Tim
     
    T.Willey, Feb 11, 2005
    #2
  3. dean_bourke

    dean_bourke Guest

    This will tell me whether or not the xref is overlaid or attached, something I already have obtained. My question was - I want to be able to determine if an attched xref is attached in the host drawing or via another overlaid xref.

    Dean
     
    dean_bourke, Feb 11, 2005
    #3
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.