Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am writing an add-in which uses a SelectionCommandInput to select multiple sketch curves. Before the September release it did just what I wanted it to. However starting with the September release of Fusion, I can only select one sketch curve at a time:
- When I invoke my add-in, nothing is selected, as expected
- When I click on the first sketch curve, it becomes selected, as expected
- When I click on the second sketch curve, it becomes selected, however the first curve becomes deselected
Before the September release, both curves would be selected, as expected and desired.
Initializing the selection command input:
self.pathInput = command.commandInputs.addSelectionInput('path', 'Path', 'Select one or more sketch curves')
self.pathInput.addSelectionFilter('SketchCurves')
self.pathInput.setSelectionLimits(0, 0)
I've commented out my selectionEvent and validateInputs handlers, just to be sure it's nothing I'm doing. When the executePreview event comes around, pathInput.selectionCount is never greater than one.
What's going on here? Can anyone suggest a workaround?
Solved! Go to Solution.