Skip to main content
10-Marble
Jun 26, 2015 12:58 PM UTC
Question

How to add parameters with units using ModelCHECK?

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.

8 replies

12-Amethyst
Jun 26, 2015 3:46 PM UTC

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.

Translate
Mahesh_Sharma
22-Sapphire I
Jun 26, 2015 3:59 PM UTC

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

Translate
10-Marble
Jun 29, 2015 7:19 AM UTC

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.

Translate
12-Amethyst
Jun 29, 2015 12:17 PM UTC

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.

Translate
10-Marble
Jun 29, 2015 1:01 PM UTC

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?

Translate