Exporting Tcl scripts

You can write out a Tcl script file that contains the commands executed in the current Designer session. You can then use this exported Tcl script to re-execute the same commands interactively or in batch. You can also use this exported script to become more familiar with Tcl syntax.

To export a Tcl session script from Designer:

  1. From the File menu, choose Export>Script Files. The Export Script Files dialog box appears.

  1. From the Save in drop-down menu, navigate to the folder in which you want to save the script files.

  2. Type a filename for this Tcl script file.

  3. Click Save. The Script Export Options dialog box appears

  1. Check the Include Commands from Current Design Only check box if you want to export commands relative to the current design only. This option applies only if you opened more than one design in your current session. If so, and you do not check this box, Designer exports all commands from your current session.

  2. Select the radio button for the appropriate filename formatting. To export filenames relative to the current working directory, select Relative filenames (default) formatting. To export filenames that include a fully specified path, select Qualified filenames (full path; including directory name) formatting.

  3. Click OK.

The Tcl script file is written to the specified filename.

Notes: