TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: sub on August 11, 2004, 02:32:14 AM

Title: how to find a selected entity is Xref or not
Post by: sub on August 11, 2004, 02:32:14 AM
how to find a selected entity is Xref or not
Title: how to find a selected entity is Xref or not
Post by: Kerry on August 11, 2004, 03:07:33 AM
This should get you started ..
Code: [Select]

  (vlax-for blk (vla-get-blocks doc)
    (if (= (vla-get-isxref blk) :vlax-false)
     < snip >

    )
  )
Title: how to find a selected entity is Xref or not
Post by: daron on August 11, 2004, 08:22:52 AM
Sub, if you're not familiar with ActiveX, you might also look in the help file under DXF reference. That should help you find the dxf codes to look for in an entity or block table selection.