Skip to content

Support intersection of properties for mixed class selection in iModel #1717

Description

@NemaAryan

Package
@itwin/presentation-components
@itwin/components-react

Issue
We use a custom property panel UI (not @itwin/property-grid-react), and the data source is PresentationPropertyDataProvider with unified selection. So the content returned by PresentationPropertyDataProvider.getData() directly controls what users see.

For mixed-class multi-selection, PresentationPropertyDataProvider.getData() returns union-style content (all properties from all selected instances).

For our workflow, we need intersection-style content (only properties common to all selected instances).

Why union is hard to use:
Attached screenshot uses Surface Region + Slab elements, which have strong intersection overlap and clearly show the extra-property problem in union output.

Image

Metadata

Metadata

Assignees

Labels

property widgetProperty grid widget and its components related issues
No fields configured for Enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions