Author Topic: xref help  (Read 1497 times)

0 Members and 1 Guest are viewing this topic.

arnolds

  • Guest
xref help
« on: January 03, 2006, 05:45:25 PM »
I have a VBA routine that queries for a block in the drawing, sums up a few attributes, and dumps them in a standard AutoCAD 2006 table. It works great for the current drawing. However, I would like to also grab the same attribute information from any of the same blocks that might
be in attached xrefs.

Is this an easy thing to do or is it an involved procedure? If it is easy to do, can someone point me in the right direction?

I know the enhanced attribute extraction tool does this but this needs to be in a separate routine.

deegeecees

  • Guest
Re: xref help
« Reply #1 on: January 03, 2006, 05:54:50 PM »
arnolds,

What is your coding background? This will help to figure out if it is an involved proceedure for you.

DGC

arnolds

  • Guest
Re: xref help
« Reply #2 on: January 03, 2006, 06:04:51 PM »
LISP, VB, VBA, Delphi as I needed to learn. I'll try anything once. What I'm really looking for is some idea on whether or not I'll be writing hours of code or if it is just a few calls that I'm not aware of.

Thanks

Jeff_M

  • King Gator
  • Posts: 3942
  • C3D user & customizer
Re: xref help
« Reply #3 on: January 03, 2006, 08:05:26 PM »
Not hours.... ;-)
Just step through the XrefDatabase property of the Block Object for the Xref.......

arnolds

  • Guest
Re: xref help
« Reply #4 on: January 04, 2006, 12:01:46 PM »
got it.

Thanks Jeff