Dropdown in plugin creation - Forum

Forum Navigation
You need to log in to create posts and topics.

Dropdown in plugin creation

Hi Everyone

I am wondering if it is possible to create our own dropdown to select a parameter for function, like
if I just want a colour to use either 'red' 'blue' yellow' to be able to select it rather than typing it as a parameter?

Just to save having to remember what is allowed in that field, much like when 'OBJID' when objects need to be selected.

any help greatly appreciated, and thanks again to Luis and his team for an amazing product.

Stay safe.

Tony

 

Hi Tony (@paeon).
It's currently possible when adding paramaters to a plugin, but not to a subroutine, using the ENUMLIST parameter type (take a look at the attached image). Will try to add it also in subroutines in the next software update.
Regards.

Uploaded files:
  • You need to login to have access to uploads.
paeon and YASIN have reacted to this post.
paeonYASIN

Many thanks Luis.