Creating a Value-List in a User Object

Hi All,

I’m developing my own user objects and I want to have it with a number a slider inputs and then have a combo-box/Value-list included in the user object itself. I have created the user object using python but switch to any language if required (C# or VBA).

As an example, I have attached a picture of what i’m looking for. Its a user object that calculates the area of a shape. The user can input multiple dimensions as normal, but there is a combo-box/value-list within the user object itself where the shape is selected.

Can anyone please point me in the right direction to be able to do this?

Example_1

Start from here:

But IMO you may be better off making a third parameter input and use a Param_Integer and its AddNamedValue()