New Member
Posts: 1
Registered: ‎10-06-2006
Message 1 of 2 (109 Views)

Loop thru Text

109 Views, 1 Replies
10-06-2006 02:16 PM
I've been tasked

1) to read the text on dwg files;
2) to filter as necessary and ;
3) to transfer pertinent data to Sql Server.

I'm fine on #2 and #3 IF I can figure out #1.

The company is using AutoCad2000 and is not updating.

I've found several sample codes in the forum, but they don't work, mostly due to changes in the AutoCad object since ver 2000 (eg. AutoCad.AcadEntity.Textstring does not exist).

Using the AutoCad2000 object, can anyone help me with the VisualBasic code to loop through a dwg file and find any text for me to do with whatever is needed?

I do not need any long, drawn out examples (unless you're cutting and pasting). I simply do not understand the objects I need to Dim in order to create a For Each ... In ... Next loop.

Thank you.

Posts: 4
Registered: ‎06-09-2005
Message 2 of 2 (109 Views)

Re: Loop thru Text

10-09-2006 05:44 AM in reply to: vlvawter
Could you clarify what you mean by "text" in a drawing? You want to find text based on a search string you specify?
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.