I did a quick test by modifying the sample delivered with Fusion called "CommandSample". In the entry.py file in the commands/Selections folder, I edited the last few lines of the command_created function to the following:
# Create a selection input, apply filters and set the selection limits
selection_input = inputs.addSelectionInput('selection_input', 'Surfaces', 'Select Surfaces')
selection_input.addSelectionFilter('SurfaceBodies')
selection_input.setSelectionLimits(1, 0)
I can now use a window to select multiple surfaces. There are two things here. First, is setting the filter to allow the selection of open bodies, and the second is setting the selection limits to not limit how many items can be selected. The argument value of 1 indicates that at least one surface must be selected. I would guess it will still work if this is zero too. The second argument of 0 is the most important, and it indicates there is no limit to the number of surfaces that can be selected.
---------------------------------------------------------------
Brian EkinsInventor and Fusion 360 API Expert
Website/Blog:
https://EkinsSolutions.com