Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
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
Solved! Go to Solution.
Hi @BenLoosli
I think check "STARTCHECK" is not enabled in check file, try setting that to error. I hope this will help.
Thanks.
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.