Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Text label extraction from DWG file

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
Anonymous
3022 Views, 4 Replies

Text label extraction from DWG file

Hi everyone,

                      I want to extract all the text lables in the drawing avaliable as .dwg file using python and filter those text as per my wish and load to a .xls file.

 

4 REPLIES 4
Message 2 of 5
Michiel.Valcke
in reply to: Anonymous

Hi,

I think you can do what you want purely with AutoCAD functionality.

the commando _DATAEXTRACTION can do what you need and deliver it directly to an .xls file.

I hope this helps.

Message 3 of 5
Anonymous
in reply to: Michiel.Valcke

Hi Michiel,

                  Thanks for replying , but data_extraction command will give only the entity tag name, but i actually want to extract the text labels in the diagram, not the entity name or number of blocks.

 

Message 4 of 5
Michiel.Valcke
in reply to: Anonymous

Hello,

Could you share an example .dwg? I'm not sure if I understood your original question correctly.

I thought that if you selected to extract the 'value' then you will get the actual contents of your labels. This should work for all kinds of text objects.

Message 5 of 5
Anonymous
in reply to: Michiel.Valcke

Lemme check... i can't share .dwg file because it is confidential data. Let me try and get back to you later.

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

Post to forums  

Forma Design Contest


AutoCAD Beta