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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

ModelCheck Parameter

BenLoosli
23-Emerald II

ModelCheck Parameter

I am having issues with the following ModelCheck checks in my start file.

I want to be sure that the CLASSIFICATION parameter is set to only one of the values set in the classification.txt file. I have also set it to issue an error if CLASSIFICATION is missing in the parameter list or has no value set.

 

Check file setting:

PARAMCHECK YNEW E E N E E

 

Start file setting:

PRT_PARAMETER CLASSIFICATION STR EQ LIST_CLASSIFICATION
PRT_PARAMETER CLASSIFICATION NONE EQ PDM

 

Contents of classification.txt 

LIST_CLASSIFICATION ECI
LIST_CLASSIFICATION OFFICIAL USE ONLY
LIST_CLASSIFICATION UCNI
LIST_CLASSIFICATION UCNI ECI
LIST_CLASSIFICATION UNCLASSIFIED
LIST_CLASSIFICATION UNCLASSIFIED ECI

ACCEPTED SOLUTION

Accepted Solutions

Hi @BenLoosli 

 

I think check "STARTCHECK" is not enabled in check file, try setting that to error. I hope this will help. 

 

Thanks. 

View solution in original post

4 REPLIES 4

Hi @BenLoosli 

 

If you have  classification.txt in ModelCHECK text directory,

add  STD_USER_LIST_FILE text/classification.txt   in start file.

 

OR Add List information (listed below) in start file only. 

 

LIST_CLASSIFICATION ECI
LIST_CLASSIFICATION OFFICIAL USE ONLY
LIST_CLASSIFICATION UCNI
LIST_CLASSIFICATION UCNI ECI
LIST_CLASSIFICATION UNCLASSIFIED
LIST_CLASSIFICATION UNCLASSIFIED ECI

 

I hope this will help. 

 

 

 

We have that in the start file:

STD_USER_LIST_FILE text/classification.txt

 

Along with a list of users:

STD_USER_LIST_FILE text/designers.txt

 

Multiple STD_USER_LIST_FILE lines are okay, I am guessing as they don't generate any errors.

 

I did get the system to issue a error when CLASSIFICATION is blank, which is one step closer.

What I need is an error message if the CLASSIFICATION parameter is not in the file. How do I check for that?

Hi @BenLoosli 

 

I think check "STARTCHECK" is not enabled in check file, try setting that to error. I hope this will help. 

 

Thanks. 

That did it, but i then had to make some other changes to get the file to check in. Those other changes were in some layer names that were never set right and are now.

Announcements
NEW Creo+ Topics: PTC Control Center and Creo+ Portal


Top Tags