Question
J-Link Model.Rename() always returns XToolkitCantModify
I am using Creo Parametric Release 12.4 and Datecode12.4.3.0
Subject: Creo 12.4 + Windchill: J-Link Model.Rename() always returns XToolkitCantModify
We are migrating a Java J-Link workflow from Creo 6 to Creo 12.4 in a Windchill-linked environment.
In Creo 12.4, Model.Rename(newName, false) fails consistently with XToolkitCantModify for both .asm and .drw.
Isolated test (minimal):
1. RetrieveModelWithOpts() on MAC_NEXTAIR_2.ASM and MAC_NEXTAIR_2.DRW
2. CheckIsModifiable(false) => true
3. CheckIsSaveAllowed(false) => true
4. Model.Rename(...) => XToolkitCantModify
Manual rename from Creo UI (same environment) works.
We reviewed CS419079 / CS419066 about read-only policy since Creo 10, but our case is unclear because modifiable/save-allowed are true while J-Link rename still fails.
Please confirm:
1. Is J-Link Model.Rename() supported for Windchill-managed models in Creo 12.4?
2. Is checkout mandatory for rename in this context?
3. Is there a known difference between UI rename and J-Link rename?
4. What is the recommended supported API/workflow for renaming Windchill-managed CAD objects?
Subject: Creo 12.4 + Windchill: J-Link Model.Rename() always returns XToolkitCantModify
We are migrating a Java J-Link workflow from Creo 6 to Creo 12.4 in a Windchill-linked environment.
In Creo 12.4, Model.Rename(newName, false) fails consistently with XToolkitCantModify for both .asm and .drw.
Isolated test (minimal):
1. RetrieveModelWithOpts() on MAC_NEXTAIR_2.ASM and MAC_NEXTAIR_2.DRW
2. CheckIsModifiable(false) => true
3. CheckIsSaveAllowed(false) => true
4. Model.Rename(...) => XToolkitCantModify
Manual rename from Creo UI (same environment) works.
We reviewed CS419079 / CS419066 about read-only policy since Creo 10, but our case is unclear because modifiable/save-allowed are true while J-Link rename still fails.
Please confirm:
1. Is J-Link Model.Rename() supported for Windchill-managed models in Creo 12.4?
2. Is checkout mandatory for rename in this context?
3. Is there a known difference between UI rename and J-Link rename?
4. What is the recommended supported API/workflow for renaming Windchill-managed CAD objects?

