How to change an exporting file name without manual interference?

Manjunath0711
Manjunath0711 Altair Community Member
edited October 2020 in Community Q&A

Hi,

 

I am a beginner in using Hyperworks. I have made a .tcl script for topology optimization in optistruct  and it works well. But the problem is whenever I run it more than once I need to keep changing the output file name or overwrite it. Is there any way to change the file name automatically like XXX_1 to XXX_2 and so on each time I run the script ?

 

TIA

Answers