Skip to content
Discussion options

You must be logged in to vote

Since you can open more than one iModel at a time, there is no such thing as "the" IModelConnection. For example, you can open more than one view, each showing a different iModel.

Of course the IModelConnection doesn't get created magically; your app has to create it somewhere (e.g. CheckpointConnection.open), so your question amounts to "how do i find my IModelConnection". You can either save it somewhere when you create it, or use the viewManager techniques above.

HTH,
Keith

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@shenshengyi
Comment options

Comment options

You must be logged in to vote
1 reply
@DeepakMalkan
Comment options

Answer selected by pmconne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants