creo-jlinklisted
Install: claude install-skill HuMoran/tt-skills
# Creo J-Link — Operation Skill
Write a Java class, have Creo load and run it at startup. Batch-export a few hundred parts to STEP, dump a BOM, generate drawing PDFs — without touching the mouse.
Bundled:
| File | What it is |
|---|---|
| `creo-run.bat` | Launcher. Checks your environment, generates the three config files Creo needs, compiles, starts Creo with the right JVM. |
| `HelloJlink.java` | Smoke test + skeleton to copy. Proves the chain works, carries the reflection helpers. |
## When this skill applies
- Batch operations across many parts/assemblies (export, measure, rename, parameter edit)
- Anything you would otherwise do by clicking the same menu 300 times
- Diagnosing why a J-Link app silently fails to run
It does **not** cover: Pro/TOOLKIT in C, Creo Object TOOLKIT C++, Windchill, or driving Creo's GUI by simulated clicks.
## Quick start
1. Make a working directory. Drop in `creo-run.bat` and your `.java` file (start with `HelloJlink.java`).
2. Open `creo-run.bat` in a text editor and fix the two lines at the top:
```bat
set "CREO_ROOT=C:\Program Files\PTC\Creo 13.4.0.0"
set "JDK=C:\Program Files\Eclipse Adoptium\jdk-25.0.3+9"
```
`CREO_ROOT` is whatever version directory you have under `C:\Program Files\PTC\`. For `JDK`, point at any JDK you already have — step 3 tells you whether it is new enough.
3. From `cmd`:
```
creo-run.bat --check verify the environment, launch nothing
creo-run.bat HelloJlink compile it and start