Skip to main content
1-Visitor
Jun 11, 2015 4:28 AM UTC
Solved

How to check if the layer names in model is as per list of standard layer names through model check?

Hi ,

My query is regarding model check configuration.

I have a list of layer names as per company standards.

How can I configure model check to compare names of layer in model with my list of layer names?

Regards,

Y S Srikanth Kashyap


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.
12-Amethyst
Jun 11, 2015 12:35 PM UTC

Page 188 of the ModelCHECK PDF.

In the .MCS file, the configuration is:

PRT_LAYER <LAYER NAME> <LAYER STATUS> <ENTITY_TYPE>

ASM_LAYER (for assemblies)

(You can also add another space and PDM at the end of the line to designate that parameter for PDMLink.)

Here is the example from the PDF:

PRT_LAYER DATUM_PLANES BLANK DATUM_PLANES

PRT_LAYER AXES BLANK DATUM_AXIS

PRT_LAYER CSYS BLANK DATUM_CSYS

PRT_LAYER ROUNDS NONE ROUND

You also have to turn on the check in the .MCH file. I think that one is the 'LAYER_INFO' check.

11 replies

12-Amethyst
Jun 11, 2015 10:32 AM UTC

I am also interested in this answer and would like to take it one step further, if I may...

Once determined positive to layer compliance; how to change the layers setting, if need be, to the proper status (visible/hidden)?

Ron

Translate
24-Ruby III
Jun 11, 2015 1:03 PM UTC

Ron,

you can create layer status file (using Save command) and later load it (using Open command).

layer_status.png

Martin Hanak

Translate
12-Amethyst
Jun 11, 2015 1:15 PM UTC

Martin,

Thank you.  I do have this portion implemented - I think.

I have mapkeys that will fix our legacy files to comply to our "corporate standard".

I can fix the parts but it is going to be more difficult to fix the operators so I need to do this automatically - hopefully thru model check.

What I am looking for is, after an operator does work, that the structure be set back to standard should the operator make modifications to it.

I think Don provided some vital documentation I need to read - and I do appreciate any and all help.

Thanks

ron

Translate
12-Amethyst
Jun 11, 2015 12:35 PM UTC

Page 188 of the ModelCHECK PDF.

In the .MCS file, the configuration is:

PRT_LAYER <LAYER NAME> <LAYER STATUS> <ENTITY_TYPE>

ASM_LAYER (for assemblies)

(You can also add another space and PDM at the end of the line to designate that parameter for PDMLink.)

Here is the example from the PDF:

PRT_LAYER DATUM_PLANES BLANK DATUM_PLANES

PRT_LAYER AXES BLANK DATUM_AXIS

PRT_LAYER CSYS BLANK DATUM_CSYS

PRT_LAYER ROUNDS NONE ROUND

You also have to turn on the check in the .MCH file. I think that one is the 'LAYER_INFO' check.

Translate
skashyap1-VisitorAuthor
1-Visitor
Jun 11, 2015 12:45 PM UTC

Thanks Don

I had done this configuration but I had not turned ON 'LAYER_INFO ' check. haha

Thanks & Regards

Y S Srikanth Kashyap

Translate
Patriot_1776
22-Sapphire II
Jun 11, 2015 2:15 PM UTC

Hey Don, where can that PDF be found?  I'd be curious to look thru it.  I have set up rules-based layers here, and was wondering if Modelcheck is powerful enough to not only create the layer, but the associated rules.

Grazie!

Translate