Using Workbench Command

Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.

Full Documentation:

Documentation Home
   wb_command -foci-create
      <output> - output - the output foci file

      [-class] - repeatable - specify class input data
         <class-name> - name of class
         <foci-list-file> - text file containing foci names, coordinates, and
         <surface> - surface file for projection of foci list file

      Creates a foci file from names, coordinates, and RGB values in a text
      file.  The text file must have the following format (2 lines per focus):

      <red> <green> <blue> <x> <y> <z> 

      Foci names are specified on a separate line from their coordinates and
      color, in order to let foci names contain spaces.  Whitespace is trimmed
      from both ends of the foci name, but is kept if it is in the middle of a
      name.  The values of <red>, <green>, <blue> and must be integers from 0
      to 255, and will specify the color the foci is drawn as.

      Foci are grouped into classes and the name for the class is specified
      using the <class-name> parameter.

      All foci within one text file must be associated with the structure
      contained in the <surface> parameter and are projected to that surface.