useActiveIModelConnection Function
React hook that maintains the active IModelConnection. For this hook to work properly the IModelConnection must be set using UiFramework.setIModelConnection method.
useActiveIModelConnection(): IModelConnection | undefined
Returns - IModelConnection | undefined
Defined in
Last Updated: 12 February, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.