我正在尝试使用J-Link,这是Pro-Engineer的Java语言工具包。我从check.Please提供的应用程序接口中学到了一些知识,我需要一些模型PTC.I的教程或帮助文件,指导我做得更好。
是否有其他建议/建议?
发布于 2017-02-28 21:18:47
您检查过通用安装文件夹(\ ProE Files\jlinkug.pdf)中的用户指南了吗?
演示应用程序位于"jlink_tutorial“和"jlink_appls”文件夹中
Model model = curSession.GetCurrentModel();
ModelCheckInstructions checkInstr = pfcModelCheck.ModelCheckInstructions_Create();
checkInstr.SetMode(ModelCheckMode.MODELCHECK_NO_GRAPHICS);
checkInstr.SetShowInBrowser(true);
checkInstr.SetConfigDir(null);
checkInstr.SetOutputDir(null);
ModelCheckResults modelCheckResults = curSession.ExecuteModelCheck(model, checkInstr);
int numberOfErrors = modelCheckResults.GetNumberOfErrors();
int numberOfWarnings = modelCheckResults.GetNumberOfWarnings(); https://stackoverflow.com/questions/42383583
复制相似问题