Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hello!
We're using our custom jLink plugins in our Creo. One of them is creating/storing external data into model and the second plugin is reading the data from the model.
It's working more-less properly with one exception: when there are no external data created yet and the first plugin creates them for a first time, they are not visible for the second plugin even after model Save/Refresh/Regenerate. They start to be visible even after model close and open again.
In subsequent cases, when an existing external data are updated/extended, they are directly visible without need of model close/open.
Does anybody observed such a behaviour and could help us how to make external data visible even after initial save?
Thank you very much!
Juraj
Solved! Go to Solution.
Hello,
in Toolkit there's a command named "ProExtdataLoadAll" that accepts a model pointer and loads all external data for this model into session memory.
I don't know whether an equivalent exists in JLink. Might be worth checking. Just an idea.
Hello,
in Toolkit there's a command named "ProExtdataLoadAll" that accepts a model pointer and loads all external data for this model into session memory.
I don't know whether an equivalent exists in JLink. Might be worth checking. Just an idea.
Thanks a lot. There is command
LoadAll()
in JLink and seems it does the job.