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

Edit dwg like text file.

9 REPLIES 9
Reply
Message 1 of 10
valotaire_emile
203 Views, 9 Replies

Edit dwg like text file.

Hello,

 

Is it possible to edit a dwg or dxf as a text file or export all text and attributes to an excel or .txt file and re-import the file to update the dwg or dxf drawing

9 REPLIES 9
Message 2 of 10
Message 3 of 10
cadffm
in reply to: valotaire_emile

Hi,

you can save dwg files in ascii-dxf files (editable like text files too),

but you should search for tools to do this job.

 

See Emilio above

Sebastian

EESignature

Message 4 of 10

When I open the dxf 2018 on notepad++ it is not possible to find readable text

Message 5 of 10

Here is the result
valotaire_emile_0-1724250618368.png
 
Message 6 of 10
pendean
in reply to: valotaire_emile


@valotaire_emile wrote:

When I open the dxf 2018 on notepad++ it is not possible to find readable text


DXF is coded to draw what you see on screen in a CAD program: learn the code and explore using SEARCH tools to find "text" in that file to edit as you need to do.

 

pendean_0-1724250737640.png

 

 

Here are reference guides to that DXF code if you are interested:

https://help.autodesk.com/view/ACD/2025/ENU/?guid=GUID-3F0380A5-1C15-464D-BC66-2C5F094BCFB9 

https://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf 

 

Message 7 of 10
cadffm
in reply to: valotaire_emile

Hi


If not, you saved not as ascii DXF

(but also in binary dxf, you will be able to FIND your Textstrings!)


binary DXF, first line:

AutoCAD Binary DXF


ascii DXF, first lines:

0
SECTION
2
HEADER
9
$ACADVER
1
AC1032

----

 

EDIT to your last post: This is an ascii DXF, you just looking at the wrong place (line).

Use CTRL+F to find your values..


But again: This is not the way you should go (you should have the knowledge about .dxf structure well, otherside you will create a damaged file)


The way to go: 3rd party tools!

 

Sebastian

EESignature

Message 8 of 10
cadffm
in reply to: valotaire_emile

For Attributes

Command: ATTOUT and ATTIN (if Expresstools are installed)

Or more modern and powerful  - https://www.lee-mac.com/batte.html

 

For (M)TEXT, you need other tools.

Use your favorite search engine, I am sure you get success

Sebastian

EESignature

Message 9 of 10

(Batte) lisp works well for attributes, but my problem is with text and mtext.

Message 10 of 10
cadffm
in reply to: valotaire_emile

 

I noticed all 3 and I answered => "


@valotaire_emile  schrieb:
.. all text and attributes

 

 

@cadffm  schrieb:

For Attributes

Command: ATTOUT and ATTIN (if Expresstools are installed)

Or more modern and powerful  - https://www.lee-mac.com/batte.html

 

For (M)TEXT, you need other tools.

Use your favorite search engine, I am sure you get success


 

"

 

Offtopic

Please use the Reply button, so we can see to who you replying.

cadffm_0-1724256815699.png

 

 

Sebastian

EESignature

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

Post to forums  

Forma Design Contest


AutoCAD Beta