API Reference > imodeljs-frontend > Tools > PrimitiveTool > isCompatibleViewport isCompatibleViewport Method Determine whether the supplied Viewport is compatible with this tool. isCompatibleViewport(vp: undefined | Viewport, isSelectedViewChange: boolean): boolean Parameter Type Description vp undefined | Viewport the Viewport to check isSelectedViewChange boolean Returns - boolean Defined in core/frontend/src/tools/PrimitiveTool.ts Line 57 Last Updated: 12 June, 2024