Adding Custom Menu Commands Using a Tcl Command - 2022.2 English

Vivado Design Suite User Guide: Using the Vivado IDE (UG893)

Document ID
UG893
Release Date
2022-10-27
Version
2022.2 English

You can also add custom menu commands using the create_gui_custom_command Tcl command. Enter the command in the Tcl Console of the Vivado IDE or source the command from a Tcl file. Following is an example:

create_gui_custom_command -name showVersion -menu_name showVersion -description 
“Display the tool version” -show_on_toolbar -command version