Is there a way to let a user select the same SelectionInput point twice?

Is there a way to let a user select the same SelectionInput point twice?

OceanHydroAU
Collaborator Collaborator
475 Views
2 Replies
Message 1 of 3

Is there a way to let a user select the same SelectionInput point twice?

OceanHydroAU
Collaborator
Collaborator

I'm wanting to let users pick a sketch point 2 times (in 2 different SelectionInput inputs), but the UI is not letting them.

 

Is it possible to allow that, or, is there a trick to make something similar work?

 

My screencast shows what I mean: https://autode.sk/2X0ljGC - once I've selected both of the only 2 points in my sketch, there's no way I can select either of them for the 3rd input on my popup.

 

0 Likes
Accepted solutions (1)
476 Views
2 Replies
Replies (2)
Message 2 of 3

BrianEkins
Mentor
Mentor
Accepted solution

I don't think this is possible.  The internal command inputs were originally designed to support whatever functionality the Fusion commands needed.  These were then later wrapped and exposed through the API.  I couldn't find any Fusion commands that support this behavior.  One I tried is the Sweep command using the "Path + Guide Rail" type setting.  You can select 3 curves in this option but it never lets you select the same curve twice.  In most commands it doesn't make sense so either by design or chance, the behavior is that an entity is only selectable once for a command.  Right now I can't think of any workaround to this.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes
Message 3 of 3

OceanHydroAU
Collaborator
Collaborator

Yes, makes great sense - picking the same point is almost never the right choice.  I'll just tell my users to add another point at the same place if they need two co-incident selections.

0 Likes