.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Loop thru Text

1 REPLY 1
Reply
Message 1 of 2
vlvawter
217 Views, 1 Reply

Loop thru Text

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.

VL
1 REPLY 1
Message 2 of 2
katarakt
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?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost