Limit parameter options

Hi!

I am developing a framework for perspective and want to limit options for parameters (for custom parameters etc.) Is it possible to create a drop-down list with selectable parameters? for example selectable parameters for the color of a symbol can be red, green, blue. (enum)

1 Like

You can just create the dropdown list and for the options, you could put “Blue” for the label and “#0000FF” for the value. Then bind the custom color property to the dropdown list’s “value” property.

hmm good idea if the end user should choose parameters, but in this case it is a framework for developers. I have done a UDT for a motor with associated view. I want to be able to drag and drop udt instance into view (embedded view), and then be able to set orientation with limited choices (left, top, right, bottom).As it is now you can write anything

image

1 Like

+1

2 Likes