The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here
Hi there,
I have a frustrating problem with Model Check.
We use screws in our assemblies. Those screw's length is defined by a family table.
Unfortunately, ModelCheck always checks those screws in the assembly and causes a "is modified".
Even if I check the assembly with the option "top level".
I already added "IF ( MODELNAME EQ ISO* ) NOCHECK" to condition.mcc
But no luck. Creo keeps modifying those models nevertheless.
If I open the screw itself and run model check, I get a "nocheck", which I expect.
BUT Creo list the model as "modified" anyway.
Solved! Go to Solution.
a little Update:
That "behaviour" also shows up with other random instances of other family table driven models (e.g. flatten sheetmetal).
BTW, I forgot to mention, that I am running Creo 10.
I tried several things:
At this time, since all of my configuration file changing attempts were unsuccessful but only switching to Creo 9 worked, I consider this as a bug in Creo Parametric. If it is a bug (please comment, If You can see the same behaviour with Your Creo installation in a Windchill environment), Creo 10 and above are affected.
Hi,
just a basic question: Are all FT instances successfully verified and then the generic model saved?
Yes, they look all verified:
Does your Model Check change the assembly layer settings in any way?
If so, this can propagate down to the parts in the assembly causing them to be modified.
the layers of the assembly or the parts are not changed.
even more strange, if I change the condition.mcc file and add "IF ( MODELNAME EQ asm0001.asm ) NOCHECK", MC still runs its checks on the model.
I can only convince MC to ignore that model (or run other checks for testing), if I set the condition to "MODELNAME EQ asm0001*"
There is a difference between MODELNAME (PTC_COMMON_NAME) and FILENAME.
Are you using Windchill?
Yes, I am using Windchill.
I cannot confirm, that MODELNAME corresponds with Common Name. E.g. the assembly, I am testing has a file name "asm0001.asm". But its Common Name is "Housing assembly".
Anyhow, finally I have got ModelCheck to use my testing configs for that model.
Firstly, I tried switching off several config lines. In the end, I just deleted the whole content in the test.mch (checks) and test.mcs (start) files.
But ModelCheck keeps getting modifying the components, which are defined by a family table (no matter that condition.mcc still contains "IF ( MODELNAME EQ ISO* ) NOCHECK".
I have taken the following from the Help Documentation
--------
Edit the condition.mcc file in a text editor as follows:
-------
# OVERRIDE CHECKS
# Deliberately exclude the following model types
IF (MODEL_TYPE EQ PRT_SKELETON) NOCHECK
IF (MODEL_TYPE EQ ASM_INTERCHANGE) NOCHECK
IF (MODEL_TYPE EQ ASM_MOLD_LAYOUT) NOCHECK
IF (MODEL_TYPE EQ PRT_PIPE) NOCHECK
IF (MODEL_TYPE EQ PRT_HARNESS) NOCHECK
# Exclude Part Family Table Generics that are not sheet metal
IF (FT_GENERIC_PRT) AND (MODEL_TYPE NE PRT_SHEETMETAL) NOCHECK
# Exclude Assembly Family Table Generics
IF (FT_GENERIC_ASM) NOCHECK
-------------
Also have a look at the following link. They are all interconnected.
a little Update:
That "behaviour" also shows up with other random instances of other family table driven models (e.g. flatten sheetmetal).
BTW, I forgot to mention, that I am running Creo 10.
I tried several things:
At this time, since all of my configuration file changing attempts were unsuccessful but only switching to Creo 9 worked, I consider this as a bug in Creo Parametric. If it is a bug (please comment, If You can see the same behaviour with Your Creo installation in a Windchill environment), Creo 10 and above are affected.
BTW, my "solution" for my problem is, to disable ModelCheck Gatekeeper on Windchill for now.
Thanks PTC for breaking ModelCheck.
That is Sad. Try adding the following line in the Condition (.mcc file) file
IF (FT_INSTANCE_PRT) NOCHECK
Expected behaviour: If the Model is a Family Instance Modelcheck should Skip the check.
Please let us know if this works.
Thanks for Your suggestion. Unfortunately, this does not work either.
What really helped, was changing a config.pro option, that seems to have nothing to do with modelcheck at all.
After changing "mass_property_calculate by_request" (which is the default value for creo 9, 10, 11 and 12, by the way) to "mass_property_calculate automatic" that error stopped.
Are you using instance accelerator files? I presume not.
If you are not using .xpr files then the mass property values of the instances has nowhere to be stored.
Hence it keeps getting created again each session, which tags the instances as being modified.
If you have .xpr files, there is somewhere for the mass properties to be stored for the instances.
This should prevent the instances from being considered modified even of you have mass_property_calculate automatic set in your config file.
If these screws are library parts that are not changing, you might also want to make them read-only for normal users in Windchill.
I ran into this issue with the MC Gatekeeper a few years ago. It came down to the date and number of days since MC was last run in Windchill preferences. I changed the preference to something like 5000 days and that 'fixed' the issue'. No longer at that company, so no telling what will happen when they reach the preference setting.
