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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

ModelCheck for layer states

boemi
13-Aquamarine

ModelCheck for layer states

Hello Community

I am struggling a little bit with the status of layers in drawing mode.

First my configuration, in the condition file I am using the "MODEL_TYPE" value to setup the right checks.

(A type for drawing is completely missing? Is this true?)

At the end there comes the ELSE part where it moves then to the checks for drawings.

When I check the layer status in a drawing, then modelcheck will duplicate my layers to the drawing and set at the end the layer status of the group (prt, asm, drw)

Now I have two questions to you:

1. How can I prevent modelcheck of generating new layers in the drawing and only set the right layer state?

2. We do have different layers for PRT and ASM, how can I say modelcheck that the drawing comes from a PRT or an ASM? ( I tried to use the &TYPE attribute on the drawing, but it didn't worked)

Anybody can help here or share his best practices?

Or am I completely wrong with this layer handling?

Thanks for your Help....

Marc

Some system information: PTC CREO 2.0 M120 / Windchill 10.1 M040

2 REPLIES 2
boemi
13-Aquamarine
(To:boemi)

Hello Community

We found an easier solution who is not perfect for the Creo drawing layer states, but the viewable is created without any planes there.

We switched off the Creo config options for planes... on the CAD worker.

Not perfect but it runs.

Marc

Vincent-Kulak
15-Moonstone
(To:boemi)

For your first question, you use modelcheck in batch mode ? Modelcheck don't do anything in interactive mode

 

Second question:

 

To have a check model type dependant , you need condition in your mcc file like this:

IF (MODEL_TYPE EQ ASM_DESIGN) config=(ASM_CONFIG.mch)(start/start_ASMmcs)(constant/mm.mcn)(status/my_status.mcq)

The possible value for MODEL_TYPE:

  • PRT_SOLID—Model sub type is solid part.
  • PRT_SHEETMETAL—Model sub type is sheet metal part.
  • PRT_SKELETON—Model type is skeleton.
  • PRT_PIPE—Model has a feature of type PRO_FEAT_PIPE.
  • PRT_HARNESS—Model type is harness part.
  • ASM_DESIGN—Model sub type is a design assembly.
  • ASM_INTERCHANGE—Model sub type is an interchange assembly.
  • ASM_MOLD_LAYOUT—Assembly type is mold layout.

 

See CS102636

Announcements


Top Tags