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