Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Modelcheck Q&A

Jacoolo

New member
I had searched this forum deeply through and did not find anything intresting and really deep about Modelcheck. I think subject is worth to bite it in greater manner.

I started to configure Modelcheck for my own parts. I am aware of exist articles like this one in Profiles Magizne. I even followed the way it is written but after I configure deafault_start.msc with my details, Modelcheck does not follow this configs.

Take a look on these details:

! Configuration file for ModelCHECK.
!22-May-00 VA $$1 Change back slash to forward in MC_REGEN_CONFIG_FILE
# PART MODE START PART REPORT CONFIGURATION
prt_layer fleachen blank datum_surfprt_layer curven blank curveprt_layer cosmetics blank cosmetic_all
# ASSEMBLY MODE START PART REPORT CONFIGURATION

# PART INFORMATION
PRT_MODEL_NAME LTE LENGTH_24
PRT_UNITS_LENGTH MM
PRT_UNITS_MASS KILOGRAM

# ASSEMBLY INFORMATION

# DRAWING INFORMATION

# SHEETMETAL BEND TABLE NAME LIST

# STANDARD LIST FILE NAMES

MC_REGEN_CONFIG_FILE text/mc_regen.mcr

You see, I want to check if parts contain following layers: fleachen, curven and cosmetics. But it does not work. What I do wrong?
 
You have to make sure:


1- Make sureyouusethe mch and mcs files you -intend- to use in either your "condition" file (CNFG_SELECT_AUTO Y in config_init.mcc)or "setconf" file.
1b - You can check what files are used if you expand the triangle icon wher it says "Model:xxx" in the report window.


2-That the check is triggered in the mch file setting option STARTCHECK and relevant LAYER_XX check to W or E
 
well, finally I solved those problems

first, I did not look close enough in mentioned article
smiley9.gif
- it was written to change two last lines in condition.mcc as follow:

IF (MODEL_UNIT EQ INCH) config=(check/default_checks.mch)(start/default_start.mcs)(constant/inch.mcn)(status/sample_status.mcq)
IF (MODEL_UNIT EQ MM) config=(check/default_checks.mch)(start/default_start.mcs)(constant/mm.mcn)(status/sample_status.mcq)

second - and this is strange - it occured that all configs in default_start.mcs should be written with capital letters. Mine were not
smiley11.gif


Setting these configs right solved my problems. Now I want to go deeper and play a little more with Modelcheck, so for sure it is not a last post here
smiley4.gif


What I am still confused are sets for part mode checks - Y, N, E, W. The last one seems to be useless for me
smiley5.gif
 
Well, ModelCHECK was made as a toolkit add-on by Rand many years ago, it was bought byPTC and put into proe. The look and feel of that old version add-on is still there though. It is logical however, once you get the overview.


Short answers:


N = Does not check
Y = Checks and reports as information only
E/W = Checks (and compares to criteria in start file). Reports error or warning if incorrect.


You can blank named layers only. A normal way to do this is to first collect all layers in the standard layer names (leaving you with 5-10 layers instead of 150-200...) and then set the status for the named layers.
 
thanks caddie

What if I would like to check different parts in different manner? I mean, different condition for different models types\names, how to do that?
 
if you let proe decide what checkfiles to use(mch, mcs and mcn), you then use the "condition" file to do that. You can use modelnames, parameter existance/values and more. There are loads of examples ini the file commented out. Look at those and build your rules. Note that as soon as a criteria is matched, it will use it, even if there is a "better" match further down.
 

Sponsor

Articles From 3DCAD World

Back
Top