Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi
Can anyone tell me that when running model check some how to create the text box to feed value in the model...
here i am attaching a screenshot which shows the missing parameter in drawing and update those values after filling and pressing "Add" tab.
Nimesh,
Text boxes to enter values depends on ModelCHECK parameters. If any of the parameter set which results to enter values will give text boxes and if any ModelCHECK parameter is only for information there will be only information without any boxes to input.
Hi mahesh
Can you give me example of adding parameter with in which text box appear, because when i am adding parameter it directly updates in model with null value.
I want to add the value of parameter during model check. I have edited start.mcs file with this parameters-
PRT_PARAMETER PART_NAME STR EQ *
PRT_PARAMETER DESCRIPTION STR EQ *
PRT_PARAMETER MATERIAL STR EQ *
now when i run modelcheck parameters directly goes to model, but the thing is i want to add during my model check like this image shows
when i run model check see what happen--
i just added these parameters in my start.mcs file
PRT_PARAMETER PART_NAME STR EQ *
PRT_PARAMETER DESCRIPTION STR EQ *
PRT_PARAMETER MATERIAL STR EQ *
If I remember right when I was working with those you still have to enter something in the text box even if it's just a space to get the parameters added to the model.
hi kevin
thanks for your reply but parameter is adding and its value is null (no value). i want to add the value of parameter during modelcheck as showing in image. i want that when i run model check it will ask me the same way showing in image.
Nimesh,
I think you have set MU_ENABLED as Y in config_init.mc, which is updating model after ModelCHECK and adding parameters. If you will set MU_ENABLED as N, you will get the errors for parameter/values
Hi Mahesh
Can you please give an example so that when i run model check it will ask me to insert values in text box.For this what are the settings in config and check file i need to do.
Nimesh,
Steps for this will be as:
1. File > Options >Environment > ModelCHECK Settings
2. Set MU_ENABLED to N in config_init.mc under Initialization settings (and save the file by selecting save on same page)
2. Add Parameters which needs to be added after executing ModelCHECK
>Expand Configuration settings > Start Files
> Select appropriate start file (e.g. nostart.mcs) > Add Row > Select added row > In lower side Select Part > Next as Parameter > Name of parameter > Type of Parameter > Function of Parameter > Value as * > Save file and close Creo.
3. Start Creo > Create a part and run ModelCHECK
hi mahesh
thank you very much now it is working... thanks
Nimesh,
It is always good to mark appropriate reply to post as correct answer. It would be great if you mark one in this post as Correct answer.
Nimesh,
Kindly mark the appropriate reply to post as correct answer.