Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
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
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