Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
public void modelchk ( ) throws Exception {
try{
Model model=session.GetCurrentModel();
ModelCheckInstructions checkInstr = pfcModelCheck.ModelCheckInstructions_Create();
checkInstr.SetMode(ModelCheckMode.MODELCHECK_NO_GRAPHICS);
checkInstr.SetShowInBrowser(true);
checkInstr.SetConfigDir(null);
ModelCheckResults modelCheckResults = session.ExecuteModelCheck(model, checkInstr);
displaymessage("ModelCheckExecuted");
JFrame f=new JFrame();
JOptionPane.showMessageDialog(f,"ModelCheckExecuted");
}
catch(Exception e){
displaymessage("No Model Were Found...");
}
Where can i append my modelCheckResults can anyone explain?Thanks in Advance.