Identify Files with out valid title blocks

Identify Files with out valid title blocks

Anonymous
Not applicable
436 Views
3 Replies
Message 1 of 4

Identify Files with out valid title blocks

Anonymous
Not applicable
I'm looking at Data Extraction utility in AutoCAD 2008. It is close to what we need but is lacking some functionality with additional custom programming or scripts.

We need a utility that will parse all subfolders and evaluate all AutoCAD files and generate a report that will not only extract title block data but will also tell us which files do not have valid title blocks.
0 Likes
437 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Are you just looking for an existing utility (free or not) to use, or are
you asking if you can do it with VBA?

If you want existing untility you can use, sorry, I do not know, prossibly,
yes, but may not does exactly the way you want to, just as Data Extraction
untility in Acad2008.

If you want to do it in VBA (or even Lisp, ObjectARX, .NET API...), by
yourself or someone for you, yes, it is fairly easy to do. A few hours to a
few days, depending on your experience and the requirement.


wrote in message
news:5720287@discussion.autodesk.com...
I'm looking at Data Extraction utility in AutoCAD 2008. It is close to what
we need but is lacking some functionality with additional custom programming
or scripts.

We need a utility that will parse all subfolders and evaluate all AutoCAD
files and generate a report that will not only extract title block data but
will also tell us which files do not have valid title blocks.
0 Likes
Message 3 of 4

Anonymous
Not applicable
Since I've not found any utility exactly like what we need, I'm looking at the VBA examples. That would work. However, I'd much rather doing it in stand alone Visual Basic 6 executible. It looks to me like Accessing AutoCAD title blocks from visual basic 6 stand alone is not supported.

Is this true?
0 Likes
Message 4 of 4

Anonymous
Not applicable
There isn't very much different between doing it in Acad VBA or in a
stand-alone app, as long as you know how to access Acad Object Model. With
stand-alone app, you just need to automate Acad (to start an Acad session)
before you access Acad object model, while in VBA, the object model is there
ready to use (such as ThisDrawing object in VBA).

If I were you, I'd seperate the functionalites into different module/class:
one for looping through file folder, one for automate AutoCAD, and maybe,
another one to contains all your Titole block searching and atttribute
extracting logics (I'd do this in VBA to make sure it works as expected,
then move into VB stand-alone project).

Be warned, doing such batch processing in stand-alone app is much slower
than doing it in VBA, and you still need Acad installed, unless you use
RealDwg.


wrote in message
news:5721793@discussion.autodesk.com...
Since I've not found any utility exactly like what we need, I'm looking at
the VBA examples. That would work. However, I'd much rather doing it in
stand alone Visual Basic 6 executible. It looks to me like Accessing
AutoCAD title blocks from visual basic 6 stand alone is not supported.

Is this true?
0 Likes