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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

ModelCheck reporting no issues & not appearing in browser

Fianna
11-Garnet

ModelCheck reporting no issues & not appearing in browser

Hi, 

I'm trying to configure modelcheck to add 2x parameters to every model in a large assembly. 

 

I have model update set to Y, so model check is 'allowed' to modify the models to add params:

Fianna_0-1592638564822.png

 

I have PARAMCHECK set to error: 

Fianna_1-1592638661705.png

And I have added parameters for it to check against: 

Fianna_2-1592638701843.png

 

But whenever I run the modelcheck regen or interactive, it reports 0 errors 0 warnings.

Fianna_3-1592638753368.png

 

 

On that note, It's also appearing in the white box of the RHS of the screen but not in the in-built browser. I have used modelcheck in the grey/tan in-browser context before but have never seen that window/context appear on this computer, I've only ever had the white box. 

I do have "Show Report" set to Y, which I thought would make it appear in the browser but it's not working. 

Fianna_4-1592638855971.png

 

 

 

Can anyone shed some light on this please? I don't fancy having to manually define the parameters in every single part/aseembly

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Mahesh_Sharma
22-Sapphire I
(To:Fianna)

@Fianna 

 

Files are configured correctly as these files are working for me without any changes. I think you need to check conditions (conditions.mcc) as conditions might be missing these files. Review your condition.mcc or share

View solution in original post

5 REPLIES 5
Mahesh_Sharma
22-Sapphire I
(To:Fianna)

@Fianna

 

Can you share your ModelCHECK files?

Hi Mahesh, 

Zip attached, It wouldn't accept mcs or mch file extensions as attachments here

Mahesh_Sharma
22-Sapphire I
(To:Fianna)

@Fianna 

 

Files are configured correctly as these files are working for me without any changes. I think you need to check conditions (conditions.mcc) as conditions might be missing these files. Review your condition.mcc or share

@Mahesh_Sharma Looks like you're correct; mcc file below & it's pointing at the sample mcs files rather than the ones I created with rules. 

My custom ones were saved in my own separate configs folder, but there's no rule in there, the below was in the Common Files\modchk\text\usascii\config folder. 

 

If I go into the model check configurator from inside a creo session the conditions table is blank; would that mean it's reading in this file or doing nothing? 

Can I just scrap all the IF statements and say config = my own files? 

 

! Conditional file for ModelCHECK.
! Date: 04-12-2004
# SET CONFIG FILE
#IF (MODEL EQ fam) config=(check/check1.mch)(start/sample_start.mcs)(constant/constant1.mcn)(status/sample_status.mcq)
#IF (MODEL_NAME EQ STD_*) config=(check/check1.mch)(start/sample_start.mcs)(constant/constant1.mcn)(status/sample_status.mcq)
#IF (EMPTY EQ ??ll) config=(check/check1.mch)(start/sample_start.mcs)(constant/Constant1.mcn)(status/sample_status.mcq)
#IF (NOSTART EQ NOSTART) config=(check/default_checks.mch)(start/nostart.mcs)(constant/constant1.mcn)(status/sample_status.mcq)
#IF (USERNAME EQ ddell) AND (MODEL_UNIT EQ MM) config=(check/default_checks.mch)(start/default_start.mcs)(constant/mm.mcn)(status/sample_status.mcq)
#IF (USERNAME EQ ddell) AND (MODEL_UNIT EQ INCH) config=(check/default_checks.mch)(start/default_start.mcs)(start/start_b.mcs)(constant/inch.mcn)(status/sample_status.mcq)
#IF (FT_GENERIC_PRT) config=(check/strict_checks.mch)(start/nostart.mcs)(constant/mm.mcn)(status/sample_status.mcq)
#IF (DATE_CREATED GTE 19970418) config=(check/default_checks.mch)(start/sample_start.mcs)(constant/mm.mcn)(status/sample_status.mcq)
#IF (PRO_VERSION GTE 199842) config=(check/default_checks.mch)(start/sample_start.mcs)(constant/mm.mcn)(status/sample_status.mcq)
#IF (MODEL_TYPE EQ PRT_SOLID) config=(check/default_checks.mch)(start/sample_start.mcs)(constant/mm.mcn)(status/sample_status.mcq)
#IF (NOSTART) config=(check/simple_checks.mch)(start/nostart.mcs)(constant/inch.mcn)(status/sample_status.mcq)
#IF (MODEL_TYPE EQ ASM_DESIGN) config=(check/simple_checks.mch)(start/sample_start.mcs)(constant/inch.mcn)(status/sample_status.mcq)
IF (MODEL_UNIT EQ INCH) config=(check/default_checks.mch)(start/nostart.mcs)(constant/inch.mcn)(status/sample_status.mcq)
IF (MODEL_UNIT EQ MM) config=(check/default_checks.mch)(modelcheck.mcs)(constant/mm.mcn)(status/sample_status.mcq)
ELSE config=(check/default_checks.mch)(start/nostart.mcs)(constant/mm.mcn)(status/sample_status.mcq)

# OVERRIDE CHECKS
IF (NOCHECK) NOCHECK

Mahesh_Sharma
22-Sapphire I
(To:Fianna)

@Fianna

 

Yes, you can add your own conditions in condtion.mcc but you need to have all star and check files in respective folder. Or you can maintain the modelcheck files outside to creo installation location and configure Creo to read those files by setting config option modelcheck_dir 

Top Tags