How can I get the project path or name using python commands?

Yann_Le_Floch
Yann_Le_Floch
Altair Employee
edited November 2021 in Altair HyperWorks

The commands to be used are listed in the table below:

Command
Function
getProjectPath()
returns the project path ex. 'D:\\ExamplesFlux\\Examples3D'
getProjectName()
returns the project path and name ex. 'D:/ExamplesFlux/Examples3D/CASE_1.FLU'
getProjectNameOnly()
returns the project name only ex. 'CASE_1.FLU'