The CreateProjectedGrid process applies a projected grid to a panel in either an HPD database or in a stand-alone PCC chart.
The projected grid information is read from a GRD file.
Input
HPD URI containing Chart Version ID, Project ID, and Panel Number or a stand-alone PCC chart containing a Chart Version ID and Panel Number. Chart Version ID is always set to 1 for PCC charts.
Output
The same chart with a projected grid in the specified panel
Syntax
carisbatch --run CreateProjectedGrid --projected-grid-style-definition-file <value> --projected-grid-style-name <value> [options] <input>
Options
Long | Short | Description | Can Repeat | Notes |
|---|---|---|---|---|
--project-grid-definition-file | -D | Path and name of the GRD file that contains definitions of grid styles | FALSE | Required |
--projected-grid-style-name | -N | Name of the grid style to be applied to the panel. The style is read from the GRD file. | FALSE | Required |
Examples
To use this process, refer to the following examples.
Database | ||
Objective | Add a projected grid to panel 1 in database chart 4. | |
Description | Command Line Syntax | |
The projected grid definition file is ih_grid_styles.grd. | "C:\Program Files\CARIS\HPD\4.0\system\PCEConfig\ih_grid_styles.grd" | |
The grid style to be applied is “Projected Grid” | --projected-grid-style-name "Projected Grid" | |
The grid is to applied to panel number in chart version 4. | hpd://username:password@OracleDB/db?ChartVersionId=4;ProjectId=1;PanelNumber=1 | |
Command Line | carisbatch --run CreateProjectedGrid --projected-grid-style-definition-file "C:\Program Files\CARIS\HPD\4.0\system\PCEConfig\ih_grid_styles.grd" --projected-grid-style-name "Projected Grid" hpd://username:password@OracleDB/db?ChartVersionId=4;ProjectId=1;PanelNumber=1 | |
Stand-Alone Chart | ||
Objective | Add a projected grid to panel 1 in | |
Description | Command Line Syntax | |
The projected grid definition file is ih_grid_styles.grd. | "C:\Program Files\CARIS\HPD\4.0\system\PCEConfig\ih_grid_styles.grd" | |
The grid style to be applied is “Projected Grid” | --projected-grid-style-name "Projected Grid" | |
The grid is to applied to panel number 1 in MyChart.pcc. | file:///D:/AllMyCharts/MyChart.pcc?ChartVersionId=1&PanelNumber=1 | |
Command Line | carisbatch --run CreateProjectedGrid --projected-grid-style-definition-file "C:\Program Files\CARIS\HPD\4.0\system\PCEConfig\ih_grid_styles.grd" --projected-grid-style-name "Projected Grid" file:///D:/AllMyCharts/MyChart.pcc?ChartVersionId=1&PanelNumber=1 | |