Skip to main content

tbl_application : LIST_FILES

Overview

This video demonstrates the tbl_application LIST_FILES command in Nitro-CELL, which lists files from a specified directory into an Excel table. The command scans the target directory and writes the file names into table rows, creating a dynamic file listing that can be used as input for subsequent tbl_ commands. This is a foundational command for building data-driven workflows where the list of models to process is determined by the contents of a folder rather than being manually entered. The video covers specifying the directory path and file filter, executing the command, and using the resulting table for downstream operations.

Key Steps

  1. Enter the tbl_application LIST_FILES command with the target directory path
  2. Specify file type filters to narrow the listing (e.g., *.prt, *.asm)
  3. Execute the command to populate the Excel table with file names
  4. Review the file listing in the table
  5. Use the populated table as input for other tbl_ commands like OPEN or SAVE

Tips

  • Use file type filters to list only relevant Creo file types
  • The resulting table can feed directly into tbl_model commands
  • Combine with DIR_EXISTS_BOOL to validate the directory before listing