Skip to main content
1-Visitor
January 12, 2012
Question

ModelCheck - Parameters

  • January 12, 2012
  • 2 replies
  • 1046 views

Hi, I'm configuring modelcheck and using the PARAMCHECK as enable, also model upadate its enable, what Im triing to do is have a set of parametes but those can or canot be filled, so it's a mix.


The problem is, modelcheck always return an error if the parameter exist but it's not filed in this case for us it's not an error, I tried the setting like this:


PRT_PARAMETER SPEC_1 NONE


And it not worked any advice on this?



Regards


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.

2 replies

12-Amethyst
January 12, 2012

The sequence should be


[MODE] [NAME] [TYPE] [EQUALITY] [VALUE]


Found on page 210 of the modelcheck pdf.


Try this:


PRT_PARAMETER SPEC_1 NONEEQ NULL

In Reply to Leonardo Bassin:



Hi, I'm configuring modelcheck and using the PARAMCHECK as enable, also model upadate its enable, what Im triing to do is have a set of parametes but those can or canot be filled, so it's a mix.


The problem is, modelcheck always return an error if the parameter exist but it's not filed in this case for us it's not an error, I tried the setting like this:


PRT_PARAMETER SPEC_1 NONE


And it not worked any advice on this?



Regards


lbassin1-VisitorAuthor
1-Visitor
January 13, 2012

I tried it but modelckeck still report the parameter as missing...


I will try some other configurations if nothing else changes I will open a ticket at ptc.