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

Drop-down menu restricted parameters when creating a new part

Drop-down menu restricted parameters when creating a new part

 

We can create restricted parameters, but when using these as a template , this functionality is lost. 
Please add the restricted list to the new part by template menu.

Kristof_D_0-1622532241541.png 

Kristof_D_1-1622532346562.png

 

Kristof_D_2-1622532405932.png

 

 

5 Comments
kdirth
19-Tanzanite

Same issue exists when modifying parameters of a model in Creo.

kdirth_0-1622551744587.png

Selected value is limited to a list of 7 values.  However, in session, I can enter any value I want, and will only get an error when uploading to windchill.

BenLoosli
23-Emerald I

Your screenshot does not show the restricted parameter checked for that parameter.

I have some lists in my restricted parameter file that have 15+ options and they all show up.

They will only be flagged if you have Windchill configured to check for a certain list of values upon check-in.

kdirth
19-Tanzanite

Maybe this is a issue with how our parts a setup.  When editing attributes in windchill or the workspace we get a drop down menu to pick the value from.  Should we also be setting up the same restricted values in the start files also?

BenLoosli
23-Emerald I

YES

The start part template file is copied to the part name you enter when you create a new part. The template files MUST have the restricted parameter lists updated as that list is copied to the file and is NOT read into your files each time you start Creo. It is read into memory so teh system will know if a change has been made to the file.

RobertH
12-Amethyst
  • Create a file like "Restricted.lst"
  • Put in restriction below (could be multiple parameters).

 

ND_ParamDefArr_K01 = {
{Name=SURFACE
Type=string
Default='GRITBLAST SA 2 - SA 2,5'
Enum={' ', '-', 'BLANK', 'GRITBLAST SA 2 - SA 2,5', 'ELECTRO GALVANIZED (5-8µm)', 'DRUM GALVANIZED', 'ZINC PLATED', 'ZINC FLAKE (8-12µm)', 'HOT DIP GALVANIZED', 'DELTA PROTEKT (DPE)', 'PAINTED RAL5002 (60-80µm)', 'PAINTED RAL9017 (60-80µm)', 'VIBRATORY FINISH', 'POWDER COATED RAL1023 (YELLOW)', 'POWDER COATED RAL7015 (GREY)', 'POWDER COATED RAL9005 (BLACK)', 'POWDER COATED RAL9006 (BLACK)', 'SEE ORDER DETAILS', 'ELECTROCOAT BLACK', 'MAGNELIS ZM120 (10 µm)'}
Access=Full
}

}

 

  • Save the file
  • Set in your config.pro the option restricted_val_definition to the full path of the Restricted.lst (like C:\XXX\Restricted.lst or a network path)
  • Create in your startpart the parameter (SURFACE in the above example)

If the parameter is already in your startpart then go to parameters and click on "Tools" and the on "Update restriction Definition".