Skip to main content
9-Granite
March 2, 2026
Question

Parameter Dropdown not working

  • March 2, 2026
  • 1 reply
  • 210 views

I created a script as shown in the image and saved it as a .lst file. I also referenced the same file in config.pro. However, when I create a new parameter in Creo, the dropdown list does not appear.

Please help me resolve this issue.

 

Note - I also tried with .txt file instead of .lst

Creo Version - 11.0.5.0

1 reply

21-Topaz I
March 2, 2026

Create lst file and reference it config.pro

 

In parameters dialog select Tools>Update Restriction Definition, Check the box to Convert model non-restricted... and apply.

 

21-Topaz I
March 3, 2026

Please confirm you went through this exhaustive article : https://www.ptc.com/en/support/article/CS51011 

I personally added the block examples and the animations back then so you could re-use them easily. 

 

by comparison, it seems like you try to create an enum list with a default value.
In the article, enum examples don't have a default value.

First to confirm this assumption, please comment the Default line or re-use one of the examples and iterate from there.

9-Granite
March 3, 2026

Hi @remy ,
I have checked the article you have shared. I already fixed the issue. 
Currently I am exploring how to add the empty values in enum in restricted Parameters. Please see the below from my lst file.  Can you please help me on this? 

ND_ParamDefArr_K01 = {
{ Name = BOM
  Type = string
  Default = ''
  Enum = { '', 'Normal', 'Reference' }
  Access = full
}

}

 

As far as I understand, we cannot assign null values to an enum. Is there any alternative way to achieve this?