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
MAKE METRIC FILE OF SURFACE COORDINATES
   wb_command -surface-coordinates-to-metric
      <surface> - the surface to use the coordinates of
      <metric-out> - output - the output metric

      Puts the coordinates of the surface into a 3-map metric file, as x, y, z.