Run Path question

inasiopo
inasiopo New Altair Community Member
edited October 2020 in Community Q&A

Dear all,

 

We are trying to set a HyperStudy simulation.

We have a batch process which calls a tcl file and the we read outputs.

 

The problem goes as follows:

In the batch process we need to know at which folders we are currently. When Hyperstudy runs the nominal run for instance, it creates folder

C:/Users/user1/Desktop/Gen02/approaches/nom_1/run__00001/m_1/

and copies there our .fem file (input)

 

In our batch we are using param %HST_APPROACH_RUN_PATH% to get the path of that folder. But we are getting the parent folder:

 

C:/Users/inasiopo/Desktop/Gen02/approaches/nom_1/run__00001

 

So .../m_1/ is missing!!!!

 

How can we get the correct path?

 

Hope we explain it in a good way.

Many thanks in advance

Answers