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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Translate the entire conversation x

Family Table models vs Model Check

Mat
15-Moonstone
15-Moonstone

Family Table models vs Model Check

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".

 

Mat_0-1765536329897.png

 

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. 

 

Mat_1-1765537040010.png

BUT Creo list the model as "modified" anyway.

 

8 REPLIES 8
MartinHanak
24-Ruby III
(To:Mat)

Hi,

just a basic question: Are all FT instances successfully verified and then the generic model saved?


Martin Hanák
Mat
15-Moonstone
15-Moonstone
(To:MartinHanak)

Yes, they look all verified:

Mat_0-1765544163272.png

 

Martin_Hill
10-Marble
(To:Mat)

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.

Mat
15-Moonstone
15-Moonstone
(To:Martin_Hill)

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*"

 

 

Martin_Hill
10-Marble
(To:Mat)

There is a difference between MODELNAME (PTC_COMMON_NAME) and FILENAME.

Are you using Windchill?

Mat
15-Moonstone
15-Moonstone
(To:Martin_Hill)

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".

Srinivasan-Iyer
14-Alexandrite
(To:Mat)

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.

https://support.ptc.com/help/creo/creo_pma/r10.0/usascii/#page/model_analysis/modelcheck/skip_models.html# 

---
Regards
Srinivasan Iyer
Mat
15-Moonstone
15-Moonstone
(To:Mat)

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:

  • emptying configurations (removing tests from modelcheck)
    I ended up with a completely empty check.mch and start.mcs file.
    That config_init.mc only contained "MC_ENABLE YNA Y" to be able to run modelcheck at all. ModelCheck still modifies those instances.
  • I installed Creo 12 and tested Modelcheck again. 
    MC also modifies those instances.
  • I also started Creo without any custom config.pro options ( besides modelcheck_dir to point to my testing mc-files).
    Still no luck.
  • In an act of desperation, I "downgraded" to Creo 9.
    And there You go. ModelCheck runs as intended!
    Mat_0-1768484992611.png

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.

 

 

Announcements
NEW Creo+ Topics: Real-time Collaboration

Top Tags