Make a dropdown menu from an operator visible in custom UI

Hi Touchdesigners,

I want to make a dropdown menu of an operator parameter visible in a custom UI:

I’ve created a custom UI where you can select the options you have within the operator:

The dropdownmenu-widget came in handy, but it can only select the already selected option:

I think I miss something after the op(‘serial1’).par.port
Does someone have a solution?

Thanks a lot!

Kind regards,

What you want there is op(‘serial1’).par.port.menuNames and op(‘serial1’).par.port.menuLabels

Hi Ivan,

Thanks a lot! It worked!