Using Model Check to control setting items to desired layers.
1. Have a layer called 2__DEF_CSYS & 2_ALL_CSYS
2. On layer 2__DEF_CSYS is the single default "F4(CSYS_PART_DEF)?
3. I have a config.pro setting that any newly created "csys" will
automatically be placed on layer 2_ALL_CSYS
4. Model Check is configured to move any ?CSYS?s? that are not on a
layer to the 2_ALL_CSYS layer
Scenario:
a. User creates a new Datum Coordinate ?F8(CS0)? which automatically
gets placed on the ?2_ALL_CSYS? layer
b. User runs Model Check with no errors, all csys?s are on layers
"F4(CSYS_PART_DEF)? is on 2__DEF_CSYS
?F8(CS0)? is on 2_ALL_CSYS
c. If the user for what ever reason removes a CSYS from the
2_ALL_CSYS layer, Model Check will want to put it back on the 2_ALL_CSYS
d. This is were the issue arises. Model Check sees that there is a
CSYS not on a layer and moves it to a layer, but it is also moving the
"F4(CSYS_PART_DEF)? from the 2__DEF_CSYS.
The default CSYS should remain on 2__DEF_CSYS. When Model Check is run
again it puts the "F4(CSYS_PART_DEF)? back on the default layer.
We have something similar setup for the datum?s that works with out an
issue
Below is a segment of our Model Check file
PRT_LAYER 1__DEF_PLANES BLANK LIST_DEF EXCLUSIVE
PRT_LAYER 1_ALL_PLANES BLANK DATUM_PLANES
PRT_LAYER 2__DEF_CSYS BLANK CSYS_PART_DEF
PRT_LAYER 2_ALL_CSYS BLANK CSYS
PRT_LAYER 3_ALL_AXES BLANK AXIS
PRT_LAYER 4_ALL_POINTS BLANK DATUM_POINT
PRT_LAYER 5_ALL_CURVES BLANK
PRT_LAYER 6_ALL_SURFS BLANK DATUM_SURF
PRT_LAYER 8_GTOLS BLANK GTOLS
PRT_LAYER 9_COSM_FEATS BLANK
PRT_LAYER ALL_DIMS NORMAL
PRT_LAYER GENERAL_NOTE BLANK
PRT_LAYER KEY_CHAR BLANK
PRT_LAYER NOTES BLANK
PRT_LAYER REVISION BLANK
LIST_DEF SIDE
LIST_DEF TOP
LIST_DEF FRONT
Regards,
Robert Altman
General Dynamics Amphibious Systems
CAD Management
703.490.7533
-
This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated.
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.