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 1.0 |
|||
| 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. | ||