Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
I am using Creo Parametric Release 6.0 and Datecode6.0.3.0
Hello,
I am writing a Jlink Async creo program to read the Material information such as material name, mass, volumne, desnsity for CAD Part that are in Windchill. The program I have written works for a single model but fails for more than one. Code is adding CAD Part to my workspace and reading the values but the moment I add another model it fails with toolkit not found exception. The next cad part exists and is added to my workspace but not able to load it in the current session.
com.ptc.pfc.Implementation.pfcExceptions$XToolkitNotFound
at com.ptc.pfc.Implementation.pfcSession$Session.RetrieveModelWithOpts(Native Method)
at ext.slb.lca.CADMaterialExtractor.main(CADMaterialExtractor.java:110)
Connection is running
Line 110: Model em = session.RetrieveModelWithOpts(modDesc, pfcSession.RetrieveModelOptions_Create());
Here are the errors that I faced
com.ptc.pfc.Implementation.pfcExceptions$XToolkitNotFound
at com.ptc.pfc.Implementation.pfcSession$Session.RetrieveModelWithOpts(Native Method)
at ext.slb.lca.CADMaterialExtractor.main(CADMaterialExtractor.java:110)
Connection is running
@nikhil1mahajan
Hello Nikhil,
Thank you for using PTC Community!
If the issue is not resolved, could you please share some screen-shots of the error's you faced?
It may help to get some quick responses.
Regards,
Community Moderation Team