cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Adding missing parameters in drawing through medelcheck

KshetrabasiMaha
12-Amethyst

Adding missing parameters in drawing through medelcheck

Hi

I was working to add drawing parameters in .mcs file; to add these parameters if missing through modelcheck

We have about 25 drawing parameters

My intention is

When I run modelcheck it should check missing parameters, and if missing, add these parameters with a default value of <null>

But the problem is that,

When I use

DRW_PARAMETER <xxx> STR EQ NULL

Then it detects missing parameters, and fills them with null; But shows PARAMETER ERROR for exhisting parameters with values

But I wan't no error message ; in case of exhisting parameters(With values equals to null or something elae)

And When I use

DRW_PARAMETER <xxx> STR

It asks to fill the values at the Modelcheck for all missing parameters

For Blank(null value) I have to atleast give a space

But I can not fill 25 parameters for every drawings.(Around 18 parameters are not required for new drawings)

Can Anybody Help me to resolve this issue, If it is possible?

Regards

K.Mahanta


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 2

You are talking about the "start" file, or the ".mcs" file.

Try using just

DRW_PARAMETER <xxx> STR

You need to also setup properly the "check" file or ".mch" file.

It must contain at least

DRAWING_PARAMS Y

PARAMS_EXIST Y

Also your "init" file or ".mc" file must be setup properly.

MU_ENABLED Y

Hope this help!

Sir

I have set the following

DRAWING_PARAMS YNEW Y Y Y Y Y

PARAMS_EXIST YNEW Y Y Y Y Y

MU_ENABLED YN Y

Now when I run model check in drawing it autofills the missing parameters

But In Model; when i run modelcheck it skips the error

Because For our parts we have set few parameters as NEQ NULL

When I run model check it skips to show these errors of blank parameters

But when I save the part it shows the Error for Missing Parameters and Parameter error

For now the problem is resolved

Thank you for your support.

Regards

K.Mahanta

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags