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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Model check

LeandroSD
6-Contributor

Model check

Hello, I would like to use the model check to verify if a parameter has been filled in.

Can you help me do this?

Thank you.

 

model check

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
LeandroSD
6-Contributor
(To:BenLoosli)

Thank you very much for your help, my friend. I managed to do what I wanted here.

View solution in original post

3 REPLIES 3
BenLoosli
23-Emerald II
(To:LeandroSD)

<TYPE>_PARAMETER <parameter_name> STR

Will return the value of the <parameter_name>

 

If you have a value that you want to check against

<TYPE>_PARAMETER <parameter_name> STR EQ <fixed value or a file containing a list of values>

<TYPE>_PARAMETER <parameter_name> NONE EQ PDM

Top line will verify the existance of your vale against its known value

Second line will tell if the parameter is designated to your PLM system

 

<TYPE> can be PRT, ASM or DRW for part, assembly or drawing checks.

 

 

LeandroSD
6-Contributor
(To:BenLoosli)

Thank you very much for your help, my friend. I managed to do what I wanted here.

llie
16-Pearl
(To:LeandroSD)

Ben is correct. Here are some examples that we list in our ModelCheck Start Files. The start files basically check to make sure the models contain specific information .

 

<TYPE>_PARAMETER <parameter_name> STR EQ <fixed value or a file containing a list of values>

PRT_PARAMETER CONTROL_NUMBER STR

ASM_PARAMETER CAGECODE STR EQ LENGTH_5

 

More start file information:

PRT_DATUM_PLANE RIGHT

PRT_VIEW BACK

PRT_LAYER COORD_SYS NONE

PRT_RELATION TITLE = PTC_COMMON_NAME

ASM_LAYER COMPONENTS NONE

Top Tags