Skip to content

about SelectionScopeField,Is there a bug? In iTwin.js 3.1.0-dev.6 version #3076

Answered by bsteinbk
shenshengyi asked this question in Ideas
Discussion options

You must be logged in to vote

@shenshengyi - You should be calling UiFramework.setIModelConnection each time you open a new IModel. In 3.0 this method will then call SyncUiEventDispatcher.initializeConnectionEvents which internally calls Presentation.selection.scopes.getSelectionScopes and updates the Redux store triggering an event which should cause the UI to refresh.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@shenshengyi
Comment options

@bsteinbk
Comment options

@shenshengyi
Comment options

Answer selected by shenshengyi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants