Batch processing

Batch processing

Anonymous
Not applicable
605 Views
4 Replies
Message 1 of 5

Batch processing

Anonymous
Not applicable
What is the best method for batch processing AutoCAD drawing using VB or VBA.
Example if I wanted to know how many AutoCAD blocks of “A”, “B” and “C” are present in drawing1, drawing2 and drawing3.

What are the specifics
Start up a new drawing, run a VBA program that then open each drawing ?
Can I write a VB program outside of AutoCAD ?
Is that another simpler solution like batch plot?
0 Likes
606 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
I don't know nothing about plot
Here is quick code how to count blocks with
ObjectDBX method
Change to your needs
Tested on A2005

Fatty

~'J'~
0 Likes
Message 3 of 5

Anonymous
Not applicable
There is no built in batch processor in AutoCAD
0 Likes
Message 4 of 5

Anonymous
Not applicable
This is a VBA batch processor that has worked for us. In the
cmdProcess_Click sub you are able to open via VBA or ODBX.

DBXOpenDwgs ListBox2.List(intCTR) 'VBA Opening
'DBXOpenDwgs ListBox2.List(intCTR) 'ODBX opening

You would need to supply your own VBA process code as needed in the OpenDwgs
or DBXOpenDwgs sub.

wrote in message news:[email protected]...
What is the best method for batch processing AutoCAD drawing using VB or
VBA.
Example if I wanted to know how many AutoCAD blocks of "A", "B" and "C" are
present in drawing1, drawing2 and drawing3.

What are the specifics
Start up a new drawing, run a VBA program that then open each drawing ?
Can I write a VB program outside of AutoCAD ?
Is that another simpler solution like batch plot?
0 Likes
Message 5 of 5

Anonymous
Not applicable
You can write a vb program outside of autocad...and you can have you program open all the desired files and get the info you need then close them..
0 Likes