> For the complete documentation index, see [llms.txt](https://help.auxalia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.auxalia.com/plant-tools/plantbatch/how-to-use/command-line.md).

# Command Line

**UNDER DEVELOPMENT**

The chapter describes the use of command line arguments to start PlantBatch through a batch file or other applications.

## <mark style="color:blue;">Usage</mark>

PlantBatch /PLATFORM=\<ACC|VAULT|NORMAL> /PROJECT= /CONFIG= \[options]

## <mark style="color:blue;">Arguments</mark>

|             |                                                                                   |
| ----------- | --------------------------------------------------------------------------------- |
| /PLATFORM   | ACC                                                                               |
| /PROJECT    | Project path (NORMAL) or project name (ACC/VAULT)                                 |
| /CONFIG     | Batch configuration name                                                          |
| /ACCACCOUNT | Required when PLATFORM=ACC                                                        |
| /ACCHUB     | Required when PLATFORM=ACC                                                        |
| /VAULT      | Required when PLATFORM=VAULT                                                      |
| /CATEGORIES | Comma-separated list: PID, 3D, ORTHO, ISO                                         |
| /DWGS       | Comma-separated list of DWG paths (requires /CATEGORIES)                          |
| /HIDDEN     | Run without showing the UI                                                        |
| /NOMESSAGES | Suppress message dialogs (errors logged to console/debug) (implicit when /HIDDEN) |
| /CLOSE      | Close the UI after batch execution (implicit when /HIDDEN)                        |
| /HELP       | Show this help and exit                                                           |

## <mark style="color:blue;">List parsing (/CATEGORIES, /DWGS)</mark>

\- Split on commas that are NOT escaped.

\- Use "," to include a literal comma inside an item (in case the path or file name contains a comma).

\- Items may be quoted; whitespace around items is trimmed.

\- Empty items are invalid.

## <mark style="color:blue;">Special DWG variables (NORMAL platform only)</mark>

\[PROJECTPATH] Directory of Project.xml

\[PROJECTNAME] Resolved project name

## <mark style="color:blue;">Examples</mark>

PlantBatch /PLATFORM NORMAL /PROJECT \[ProjectPath] /CONFIG "PR for Project" /CLOSE /HIDDEN

PlantBatch /PLATFORM=VAULT /PROJECT="MyVaultProject" /VAULT="VaultServer" /CONFIG=Standard

PlantBatch /PLATFORM=ACC /ACCACCOUNT="auxalia ACC" /ACCHUB="Plant Hub" /PROJECT="ACC Demo Project" /CONFIG="PDF Creation" /NOMESSAGES /HIDDEN / CLOSE

PlantBatch /HELP
