Selection Object 'entity' fails with RuntimeError: 3 when a 'Setups' is selected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have made a Fusion AddIn that uses a ActiveSelectionEventHandler to to let the user select faces to inspect and then I filter to see if it is a relevant BRep object by looking at .entity.objectType of the selection. This works pretty well except for when I select the 'Setups' tab or 'Named Views' as when I call entity it cant convert them, It would be useful if every object that would be possible to select could at least present the 'Base' object properties so that they can be filtered out.
Also as a sidenote it would be nice if the selection details in the bottom right corner of the screen was accessible through the API.