Command Line
The chapter describes the use of command line arguments to start PlantBatch through a batch file or other applications.
Usage
PlantBatch /PLATFORM=<ACC|VAULT|NORMAL> /PROJECT= /CONFIG= [options]
Arguments
/PLATFORM
ACC | VAULT | NORMAL (required unless /HELP)
/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
List parsing (/CATEGORIES, /DWGS)
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.
Special DWG variables (NORMAL platform only)
[PROJECTPATH] Directory of Project.xml
[PROJECTNAME] Resolved project name
Examples
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
Last updated