Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 6/20/2022
Public

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

Document Table of Contents

3.1.29.18. get_current_project (::quartus::project)

The following table displays information for the get_current_project Tcl command:

Tcl Package and Version

Belongs to ::quartus::project

Syntax get_current_project [-h | -help] [-long_help]
Arguments -h | -help Short help
  -long_help Long help with examples and possible return values
Description
Returns the name of the current project.
Example Usage
# Get the current name for
# the currently open project "chiptrip"
project_open chiptrip
set project_name [get_current_project]
project_close
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful