Skip to main content
5-Regular Member
November 6, 2019
Solved

ModelCheck FORMAT_NAME in condition.mcc

  • November 6, 2019
  • 2 replies
  • 1993 views
Is it possible to control the model check by checking the frame in the file condition.mcc ?

(rahmen-hm-h-a3.frm)

example

if (FORMAT_NAME EQ RAHMEN-HM-*-A3) config (check/..

if (DRW_FORMAT EQ RAHMEN-HM-*-A3) config (check/..

Best answer by lhoogeveen

I don't think that's an option - here are the Items You Can Use in Equality Statements from the Creo Help Documentation. You could create a ModelCheck idea - the product manager for ModelCheck from PTC regularly checks them.

 

A work around could be to add a parameter to the drawing and use this in the condition file.

 

One thing that I don't think is documented for the condition.mcc file is that you can use multiple start files. Not sure if this is just limited to the start file. IF (PARAMETER1) config=(check/checks.mch)(start/test.mcs)(start/2ND_START_FILE.mcs)(constant/none.mcn)(status/status.mcq)

2 replies

17-Peridot
November 7, 2019

I don't think that's an option - here are the Items You Can Use in Equality Statements from the Creo Help Documentation. You could create a ModelCheck idea - the product manager for ModelCheck from PTC regularly checks them.

 

A work around could be to add a parameter to the drawing and use this in the condition file.

 

One thing that I don't think is documented for the condition.mcc file is that you can use multiple start files. Not sure if this is just limited to the start file. IF (PARAMETER1) config=(check/checks.mch)(start/test.mcs)(start/2ND_START_FILE.mcs)(constant/none.mcn)(status/status.mcq)

ckopplin5-Regular MemberAuthor
5-Regular Member
November 11, 2019
Thanks for the answer, I had already searched the help, but found nothing on Format. That goes with the parameters.
Mahesh_Sharma
22-Sapphire I
November 11, 2019

@ckopplin 

Nothing available as of now.. but alternate option suggested by @lhoogeveen can help you.