From a script or the Tcl Console, use the equivalent Tcl get_* command (such as get_cells) to query Vivado objects.
Tip: The Tcl Console at the bottom
of the AMD Vivado™
IDE displays the Tcl command options the
Vivado Design Suite runs for each GUI action. You
can also enter your own Vivado Tcl command options directly
in the Tcl Console,
For more information on Tcl scripting, refer to the Vivado Design Suite User Guide: Using Tcl Scripting (UG894).
For more information on Tcl command options, type <command> -help in the Tcl Console. See the
Vivado
Design Suite Tcl Command Reference Guide (UG835) for more information.