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.43. project_settings_exist (::quartus::project)

The following table displays information for the project_settings_exist Tcl command:

Tcl Package and Version

Belongs to ::quartus::project

Syntax project_settings_exist [-h | -help] [-long_help] [-cmp <revision_name> ] [-sim <revision_name> ] [-swb <revision_name> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-cmp <revision_name> Revision name
-sim <revision_name> Revision name
-swb <revision_name> Revision name
Description
Checks whether the specified revision exists. Returns 1, 
if revision exists; returns 0, otherwise.
Example Usage
## Check if auto_max.qsf exists
project_settings_exist -cmp auto_max

## Check if auto_max.qsf exists
project_settings_exist -sim auto_max

## Check if auto_max.qsf exists
project_settings_exist -swb auto_max

## Check if auto_max.qsf exists
project_settings_exist -swb auto_max
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.