Mechanical Scripting -export figures etc. as Word file

aalperakis
aalperakis Member Posts: 6
First Anniversary Name Dropper First Comment
**
edited June 2023 in Structures

Hello,

I want to send the figures directly into the word file. Is there any simple code ready for this?

https://www.linkedin.com/pulse/script-tip-friday-connecting-mechanical-excel-structural-analysis

import clr               
clr.AddReference("Microsoft.Office.Interop.Word") 
import Microsoft.Office.Interop.Word as WordNS

I read the link for Excel. I adapted it to Word but I was not successful.

Answers