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

rhansen
6-Contributor

ModelCHECK

Is it possible to configure ModelCHECK to test for sketches that are not fully defined?

thx


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
5 REPLIES 5
jellis
11-Garnet
(To:rhansen)

Richard....not sure but here's a thought. If there's a regen message in the trail file then possibly you could use the mc_regen.mcr file to check the regen text in the trail file to provide the warning/error.

Here's an excerpt from the Creo Help Center:

REGEN_ERRS

Reports any errors when a model is fully regenerated. These are typically problems that are reported in the Creo Parametric message window when a model is regenerated.

The mc_regen.mcr configuration file is used to specify the messages to search for and to determine whether a message is an error or a warning message.

KR, Jim

Hello Jim,

In my testing it seems that the rmc_regen.mcr config file needs to have the full string of the warning or error line.  I can't seem to make it take wildcards. Is this your experience as well?

- Jim

jwagh
17-Peridot
(To:rhansen)

We use a checking mapkey that go through different facets of the model, including modelcheck, before it can be released. We use PROGRAM to view the model in text format and search for the word WEAK. All weak dimensions will say WEAK.

Hello Joseph,

What do you mean when you say you view the model in text format?  Can you share a screen capture or two to expand your description?

- Jim

Open a model. In the Search Command type "PROGRAM". Press any of the "Programs". Select "Edit Design". Select "From Model" (if prompted). Overwrite Pro/Program file (if prompted). A text editor will come up with all features written out in text format. Search for the word "Weak". Exit the text editor. Select "NO"  to incorporate  changes to the model. Done/Return.

Mapkey:

mapkey fw @MAPKEY_LABELFind Weak Dimensions {FW};\

mapkey(continued) @MAPKEY_NAMEFinds Weak Dimensions by opening up ProPROGRAM;\

mapkey(continued) ~ Command `ProCmdMmProgram`;#EDIT DESIGN; NO!;\

mapkey(continued) #FROM MODEL; YES!; NO! ;#DONE/RETURN;

Top Tags