Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 4/01/2024
Public
Document Table of Contents

4.1.28.32. is_project_open (::quartus::project)

The following table displays information for the is_project_open Tcl command:

Tcl Package and Version

Belongs to ::quartus::project

Syntax is_project_open [-h | -help] [-long_help]
Arguments -h | -help Short help
  -long_help Long help with examples and possible return values
Description
Checks whether a project is currently open. Returns 1, if a 
project is currently open; returns 0, otherwise.
Example Usage
## Close the project if open
if [is_project_open] {
   project_close
}
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful