Somewhat new to TOPS, still wrapping my brain around it. I have an HDA that has a dropdown menu parameter that works through a python menu script. It's for OSM data to select the type of road you want to run the HDA on. So for parameter "road type" this allows me to select the avaliable road types from a drop down.
menu =
geo = kwargs.node("Attrib_Create_Road_Type").geometry()
if geo:
attrib = geo.findPrimAttrib("highway")
if attrib:
for highway in attrib.strings():
menu +=
return menu
This works if the HDA is not in a top network/referenced by an hda processor. If I keep this menu script and try to reference that HDA through an HDA processor, the work items fail to output. If I change the hda so that you type the road type in but get rid of the menu script for the drop down menu, and reference that HDA through the HDA processor, it does output the work items successfully.
How could I set up my top network so I can use a drop down menu for an attribute like I can do on the HDA itself?