Skip to main content
11-Garnet
March 21, 2025
Question

Parameter with value of the mass by MODELCHECK

  • March 21, 2025
  • 3 replies
  • 923 views

Hello
Using creo 8
I've been trying so hard to create a parameter with the value of mass but nothings has worked for me
would love some help
my check file its set like this;
MODEL_NAME_STR YN Y N N N N
ADD_CHK_PARAM YN Y N N N N
STARTCHECK YNEW E E E E E
GEOM_CHECKS YNEW Y N N N N
PARAMCHECK YNEW W N N N N
STARTPARM YNEW W N N N N
PRT_DENSITY YNEW E N N N N
DEF_DENSITY YNEW Y N N N N
MATERIAL_DENSITY YNEW Y N N N N
ACCURACY_INFO YNEW Y N N N N

my start file:
PRT_ADD_CHK_PARAM PRT_NOME MODEL_NAME_STR
ASM_ADD_CHK_PARAM ASM_NOME MODEL_NAME_STR
ASM_ADD_CHK_PARAM Massa_Prompmass_add pro_mp_mass
ASM_ADD_CHK_PARAM Massa_mpmass_add mp_mass("")
ASM_PARAMETER Massa_prompmass_parameter REAL EQ pro_mp_mass
ASM_RELATION Massa_Prompmass_relation = pro_mp_mass
ASM_RELATION Massa_mpmass_relation = mp_mass("")
ive enalble calculating the mass automatic in config.pro

3 replies

Community Manager
March 28, 2025

Hi @ND_10940562,

Thank you for your question. 

Your post has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Regards,

Vivek N
Community Moderation Team

15-Moonstone
April 1, 2025

It seems this is enough in the start file

PRT_ADD_CHK_PARAM mass
PRT_RELATION mass = pro_mp_mass
ASM_ADD_CHK_PARAM mass
ASM_RELATION mass = pro_mp_mass

 

and better to operate mass-inertial characteristics in the post regen relations

but you can't edit post reg relations by ModelCHECK

14-Alexandrite
May 23, 2025

I am using Creo 9.x

The syntax as per help documentation is as follows:

Parameters to be added to a model can be specified. Use the following format in the start configuration file to list the parameters to add to the model:
[MODE]_ADD_CHK_PARAM [parameter] [check_output]
where
[MODE] is PRT, ASM, or DRW.
[parameter] is the name of the parameter to be created.
[check_output] is the name of the check whose output is to be used.
For example,
PRT_ADD_CHK_PARAM MATERIAL MATERIAL_INFO
PRT_ADD_CHK_PARAM UNITS_LENGTH UNITS_LENGTH
PRT_ADD_CHK_PARAM MODEL_NAME 0MODEL_NAME_STR
------------
Thus for part...
PRT_ADD_CHK_PARAM mass pro_mp_mass

-----------------

One would create a separate parameter for mass only when one would like to keep the default units to MMKS but would like to have the mass reported in grams or in tons. In which case, one must create a parameter in the model and set it to the desired units say g / tons / lbs etc.

Community Manager
April 2, 2025

Hello @ND_10940562

 

It looks like you have a response from a community member. If it helped to answer your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.