Exemple : Fichier config_init.mc
Le fichier config_init.mc contient au maximum six colonnes, comme illustré ci-après :
Nom de l'option
Valeur autorisée
Valeur en mode Interactif (I)
Valeur en mode Par lots (B)
Valeur en mode Régénérer (R)
Valeur en mode Enregistrer (S)
MODE_RUN
YN
Y
N
Y
Y
! ----------------------------------------------------------
# Options "I" "B" "R" "S"
! ----------------------------------------------------------
# Enable ModelCHECK Y=enable, N=disable, A=Ask user
MC_ENABLE YNA Y
# Enable/Disable ModelCHECK in specific modes
MODE_RUN YN Y Y N N
# Automatically update errors in models when run in BATCH
MODE_UPDATE YN Y Y Y Y
# Enable/Disable ModelCHECK metrics in specific modes
MC_METRICS YN Y Y Y Y
# Directory ModelCHECK will write reports on NT
#DIR_REPORT_NT $TEMP/mc_reports
# Directory ModelCHECK will write reports on UNIX
DIR_REPORT_U /tmp/mc_reports
# Directory ModelCHECK will write reports
#DIR_REPORT $TEMP/mc_reports
# Directory ModelCHECK will write metrics flat file on NT
#DIR_METRICS_NT $TEMP/mc_metrics
# Directory ModelCHECK will write metrics flat file on UNIX
DIR_METRICS_U /tmp/mc_metrics
# Directory ModelCHECK will write metrics flat file
#DIR_METRICS $TEMP/mc_metrics
# Directory ModelCHECK will read shape indexing files on NT
DIR_MC_DUP_READ_NT $TEMP/mc_dup_read
# Directory ModelCHECK will read shape indexing files on UNIX
DIR_MC_DUP_READ_U /tmp/mc_dup_read
# Directory ModelCHECK will read shape indexing files
DIR_MC_DUP_READ $TEMP/mc_dup_read
# Directory ModelCHECK will write shape indexing files on NT
#DIR_MC_DUP_WRITE_NT $TEMP/mc_dup_write
# Directory ModelCHECK will write shape indexing files on UNIX
DIR_MC_DUP_WRITE_U /tmp/mc_dup_write
# Directory ModelCHECK will write shape indexing files
#DIR_MC_DUP_WRITE $TEMP/mc_dup_write
# Directory ModelCHECK will keep the backup of config files on NT
#DIR_MC_BACKUP_CONFIG_NT $TEMP/mc_backup_config
# Directory ModelCHECK will keep the backup of config files on UNIX
#DIR_MC_BACKUP_CONFIG_U /tmp/mc_backup_config
# Directory ModelCHECK will keep the backup of config files
#DIR_MC_BACKUP_CONFIG $TEMP/mc_backup_config
# Use the external file for authorization to use Configurator Tool
MC_AUTHORIZATION_FILE YN N
# Asyncronous port for ModelCHECK server to use
ASYNC_PORT 3001
# Number of days to save html and xml files in DIR_REPORT
HTML_MAX_DAYS 1
# Auto add/upd parameter MODEL_CHECK to model with current date as it's value
ADD_DATE_PARM YN N N N N
# Auto add/upd parameter MC_ERRORS to model with number of errors found in model
ADD_ERR_PARM YN N N N N
# Auto add/upd parameter MC_CONFIG to model with current mc config used
ADD_CONFIG_PARM YN N N N N
# Auto add/upd parameter MC_MODE to model with current mode MC was run
ADD_MODE_PARM YN N N N N
# Skip models in assemblies if they have not changed since being retrieved
# regardless of what MC_ERRORS is set to
SKIP_MODELS YN N
# Check models in assemblies regardless of whether they have changed since
# being retrieved or not
CHECK_ALL_MODELS YN N
# Interactive SAVE MODE - pre (Y) or post (N)?
SAVE_MC_PRE YN N
# ASSEMBLY batch mode - run TOP only (N) or ALL LEVELS (Y)
ASM_BATCH_ALL YN Y
# Run MC on all drawing sheets (Y) or current only (N)
DRW_SHEET_ALL YN Y Y Y Y
# Config select Mode - Automatic (Y) or Load Config menu option (N)
# or Ask User at start of Creo Parametric session (A)
CNFG_SELECT_AUTO YNA Y
# Enable/Disable MC_VDA for specific mode
MC_VDA_RUN YN Y Y N N
# Duplicate models - Automatically add dup model info to text file
# Y - always add model info
# N - Never add model info
# D - add model info but Don't overwrite existing info
# A - always Ask the user whether to add AND whether to overwrite
ADD_DUP_INFO_AUTO YNDA N N N N
INTRALINK_DUPINFO YN N
#ILNK_MC_SRCH_SCRPT proitkenv_load_pt/bin/script_to_exec_mcilchkout
#ILNK_MC_PRVW_SCRPT proitkenv_load_pt/bin/script_to_exec_mcilchkout
#ILNK_MC_DUP_FLDR folder1
#ILNK_MC_DUP_FLDR folder2
#ILNK_MC_DUP_FLDR folder3
# Temporary directory for preview files storage
#DIR_MC_PREVIEW_NT $TEMP/mc_preview
# Temporary directory for preview files storage
DIR_MC_PREVIEW_U /tmp/mc_preview
# Temporary directory for preview files storage
#DIR_MC_PREVIEW $TEMP/mc_preview
# Advance buried feature analysis
BURIED_ADVANCED YN N
# Show Report
SHOW_REPORT YN Y Y Y Y
# PROGRAM NAMES
PROGRAM pro
HTML_FILE_OUTPUT YN Y Y Y Y
Est-ce que cela a été utile ?