In PlanAhead this feature is not currently available.
The PlanAhead User Guide (UG632) suggests that you capture a PlanAhead project with all of its settings by copying the necessary Tcl commands from the journal, (.jou), file into a Tcl script.
To do this:
The journal file contains all the commands run when using the PlanAhead tool.
According to the user guide, "You can copy Tcl commands from the log files for use either in the Tcl command window or in a batch file."
You can also open the journal and log files without opening the PlanAhead tool.
The PlanAhead journal file and log file are written to the following locations:
Note: the .jou file is not a complete Tcl script that you can use as is.
Most importantly, ensure that you insert the wait_on_runs command before any command that requires a previous command to complete before the command is executed.
In the following example, synth_1 must be complete before impl_1 can be run:
The user guide also outlines the options available when running the Tcl script.
In Vivado, use the write_project_tcl command.