cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

jLink External data access

JurajKosmel
5-Regular Member

jLink External data access

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

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

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.

 

 

View solution in original post

2 REPLIES 2

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.

 

 

JurajKosmel
5-Regular Member
(To:FabianWolf)

Thanks a lot. There is command 

LoadAll()

in JLink and seems it does the job. 

Top Tags