Hi,
I am new to clarrise. I am trying to read the file path of the current project from python. I couldn't find the right function. Can someone point me to the right function?
Thank you
def getProjectPath():
path = ix.application.get_factory().get_vars().get("PDIR").get_string() + "/"
project_file = ix.application.get_factory().get_vars().get("PNAME").get_string()
if project_file.find(".project") == -1: project_file += ".project"
project = path + project_file
return path, project, project_file
openedProjectFilename = ix.application.get_current_project_filename()
print openedProjectFilename