Skip to main content
3-Newcomer
February 8, 2024
Solved

Can ModelCheck report an Error if a prt parameter is empty

  • February 8, 2024
  • 1 reply
  • 2021 views

I am trying to get ModelCheck to check my Part Parameters for any empty parameters.

I would like it to report an error and make the user fill in the parameters that are empty (this cannot be a list, it just needs something/anything in it)

 

I want the engineers to fill out the Material, condition ect parameters.

Can Modelcheck check these are not empty?

 

Using Creo 7.0.8.0

Best answer by dnordin

Yes.

 

In the start checks (.mcs files), use the check PRT_PARAMETER DRAWN_BY STR NEQ NULL

The part parameter "drawn_by" must be of type string and not be null (empty).

 

In the checks (.mch files), specify STARTCHECK is set to error.

 

Regards,

 

Dan N.

 

1 reply

dnordin16-PearlAnswer
16-Pearl
February 8, 2024

Yes.

 

In the start checks (.mcs files), use the check PRT_PARAMETER DRAWN_BY STR NEQ NULL

The part parameter "drawn_by" must be of type string and not be null (empty).

 

In the checks (.mch files), specify STARTCHECK is set to error.

 

Regards,

 

Dan N.

 

3-Newcomer
February 19, 2024

thanks that worked