Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 9/26/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

4.1.29.23. get_project_directory (::quartus::project_ui)

The following table displays information for the get_project_directory Tcl command:

Tcl Package and Version

Belongs to ::quartus::project_ui

Syntax get_project_directory [-h | -help] [-long_help]
Arguments -h | -help Short help
  -long_help Long help with examples and possible return values
Description
Returns the project directory for currently open project.
Example Usage
project_open one_wire
	# Print the current project directory
puts [get_project_directory]
project_close
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: You must open a project before you can use this command.