Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Addin to export all text on a drawing

1 REPLY 1
Reply
Message 1 of 2
bsee1
233 Views, 1 Reply

Addin to export all text on a drawing

The end goal is to translate all text on several hundred Inventor dwgs from English to Chinese.  I'm planning to develop an addin (hopefully using apprentice) that will open each drawing and export all text on the drawing to a excel/text file.  We'd have a human translator translate all the technical text.  The same program would then open each drawing, find the matching english text and replace it with the translated text.  

 

Simply: Is there an easy way to loop through *all* text on a drawing? 

*****************************
Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000

Inventor 2013
ETO 6.1
1 REPLY 1
Message 2 of 2
philippe.leefsma
in reply to: bsee1

Hi

 

I don't think there is an easy way to acheive that. You would need to write specific code to iterate through the various collections of each object in a drawing that can contain text. That text can be accessed in a different way depending which object we are talking about.

 

I also cannot guarrantee that Apprentice exposes enough of the API to achieve that task, you would to give it a try.

 

Sorry for not being more helpful.

 

Regards,

Philippe.



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Autodesk Design & Make Report