Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
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
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
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:
See CS102636