🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

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

User: "Yann_Le_Floch"
Altair Employee
Updated by Yann_Le_Floch

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'