Skip to main content
10-Marble
June 26, 2015
Question

How to add parameters with units using ModelCHECK?

  • June 26, 2015
  • 3 replies
  • 3462 views

How to add parameters with units using ModelCHECK? We want to avoid that users, after having run ModelCHECK to add missing parameters, still need to go into the Parameters table and select the proper unit via the dropdown lists. If parameters are not "unitized", then we get a checkin error in PDMLink.

Thank you for your help!


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.

3 replies

12-Amethyst
June 26, 2015

I've worked quite a bit with ModelCHECK and I don't remember any way to choose the Unit for a parameter.

If nobody else has better news, perhaps look into whether or not Toolkit can do it.

22-Sapphire I
June 26, 2015

Not an option in ModelCHECK to add units, you may try using mapkey.

10-Marble
June 29, 2015

Thanks for your answers.

That is correct when using straighforward ModelCHECK functionality.

However, I would be interested in knowing if someone has worked around it. We have tried, for example, making ModelCHECK add missing relations in this fashion: d1=5[mm], but we are unsuccessful so far.

Mapkeys would be a possibility, but in our case it is not so convenient because of technical reasons which are not worth to discuss here.

12-Amethyst
June 29, 2015

Within the parameter table is the ability to Load Configuration. I'd look into whether or not you could import parameters with units using this option. I'm not sure if ModelCHECK has the ability to load from file like this. You'll have to read the manual to see if it's even possible to do without a mapkey.

10-Marble
June 29, 2015

Thanks, I'll look into that possibility, although it's unlikely.

I know the manual well and still surprises me that adding a missing parameter WITH ITS UNIT is not possible, and it's also impossible to work around it, even using ModelCHECK's "Missing relations" capability and assigning that parameter a unit using a generic equation. To me it would be an essential thing to have: engineering parameters must not only exist but also have their proper units!

I copy the manual below, this is what one can do with parameters in ModelCHECK (and nothing more than this):

The following information can be verified in parameters:

• Are they the right types (string, integer, real, Boolean)?

• Are they PDM designated?

• Do they have assigned values?

• Do specific parameters have values from a standard list of valid values?

• Are numerical parameters less than, greater than, or equal to a specific value?

• Are string or Boolean parameters equal to a specific value?

• Do string parameters contain specific letters, or are they a specific length?