Wiki

Clone wiki

GhToGhx / CommandLine List Ghx Files

Home | Console | Batch Script | Commands | <<Prev | Next>>

Console Window

The command "x" will recursively list all *.ghx files in and below the current folder structure.

If pressing "L" (log enabled) prior to any command a log file will be written to disk. These mode settings sticks, and in a similar manner verbosity (+) is sticky as well.

Fig 1. Here the lowercase key x (x for .ghx) was pressed when in verbose mode:

Console Window List Ghx Files.PNG

CommandLine Mode

The command syntax for recursively listing all *.ghx files in and below the current folder structure could look like so:

.\GhToGhx.exe d:\grasshopper definitions\folders\ xL

Fig 1. Here the command +xL (x for .ghx) was executed in verbose mode. The prefixed plus + makes the command "verbose" and the postfix option L causes writing filenames the to a logfile on disk":

CommandLine List Ghx Files.PNG

The rich colors attempts to highlight the parts of the output text which is the main focus of the command.

Updated