Skip to main content
1-Visitor
June 11, 2015
Solved

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

  • June 11, 2015
  • 3 replies
  • 4604 views

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.
Best answer by DonSenchuk

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.

3 replies

12-Amethyst
June 11, 2015

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

24-Ruby III
June 11, 2015

Ron,

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

layer_status.png

Martin Hanak

12-Amethyst
June 11, 2015

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

12-Amethyst
June 11, 2015

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.

skashyap1-VisitorAuthor
1-Visitor
June 11, 2015

Thanks Don

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

Thanks & Regards

Y S Srikanth Kashyap

Patriot_1776
22-Sapphire II
June 11, 2015

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!