Print Page | Close Window

Text export/import

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DXF formats, Design Review, AutoCAD web, Drive, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=14529
Printed Date: 12.Jun.2026 at 22:31


Topic: Text export/import
Posted By: tokintmash
Subject: Text export/import
Date Posted: 16.Aug.2024 at 16:31
Hi All,

I am looking for ways to export texts from DWG files for translation and importing the translations later to replace those texts.

Yes, I've found the "Trans" but I was wondering if there are others beside this one that are good? Possibly even as open lisp so I could try and modify the code if necessary. Maybe specify a layer or something.

I don't require the automatic translation for example, but I  do require batch export/import capability as sometimes there can be hundreds of files.

I need to extract texts and pass them to translators and later replace texts inside DWGs with translations.

I should also mention that am a total beginner when it comes to CADs. I've managed to export texts using Dataextraction, but haven't managed to replace texts based on excel.



Replies:
Posted By: ajay1579
Date Posted: 21.Oct.2024 at 15:42
you can loop over thisdrawing.modelspace for acdbtext, collect all text and its insertion point and bounding box extent. 

with translated text you can set the text other porperies agian using vba



Print Page | Close Window