cart: empty [ Login ]

DWG Text extraction (again?)

1 
Ed
1/31/2013 6:17 AM
I'm on a short timeline project, first part is to extract all text from DWG files. I tried the code at https://woutware.com/Forum/Topic/497, but it did not find any text (even though I see a lot). False alarm ... must have been a 'bad' sample of DWG files. The TextEntityVisitor is find text in a another sample of DWG files.
Wout
2/1/2013 1:42 PM
Ok, so you don't need a reply on this one, correct? - Wout
Osvaldo Ribeiro
9/8/2023 7:44 PM
Hello Wout! I want to read all of the text and attributes in the dwg file. I tried to read the "Text" property in all entities, but some entities don't have this property. Can you help me with a sample in C#, please? Thanks.
Wout
9/8/2023 8:11 PM
I’m not at the computer right now, but you have to check the Type indeed. Try to cast to DxfText, DxfMText and get the text from the Text ot SimplifiedText property. By the way, I’d prefer you make a new topic rather than resurrecting an old topic. - Wout
Osvaldo Ribeiro
9/11/2023 1:30 PM
Sorry, I will create a new topic with this problem. Thanks.
1