Hi,
Here's an example where ALLPLAN is launched from the command line and opens a specific project.
A PythonPart script is also launched with a custom argument.
The PythonPart recognizes the command-line launch, executes (here read an Excel file and generates cubes - external data for placement point, size and color -), and closes ALLPLAN cleanly at the end.
It's also possible to run scripts periodically on Windows using the Task Scheduler, for example.
=> ALLPLAN 2026
edit the paths into ps1
$allplan = ".......\Allplan_2026.exe"
$script = ".......\ExternalLaunch.pyp"
$dataPath = ".......\Data.xlsx"
$projectXml = ".....\Prj\xxxxx.prj\Project1.Dat.xml"
and check py / pyp location
Best
Christophe