Author Topic: how to find a selected entity is Xref or not  (Read 2716 times)

0 Members and 1 Guest are viewing this topic.

sub

  • Guest
how to find a selected entity is Xref or not
« on: August 11, 2004, 02:32:14 AM »
how to find a selected entity is Xref or not

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
how to find a selected entity is Xref or not
« Reply #1 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 >

    )
  )
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

daron

  • Guest
how to find a selected entity is Xref or not
« Reply #2 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.