API Reference > imodeljs-frontend > Tools > PrimitiveTool > targetView targetView targetView: undefined | Viewport The viewport within which the tool operates. note This property is only initialized if PrimitiveTool.run returns true, causing the tool to be installed. Defined in core/frontend/src/tools/PrimitiveTool.ts Line 25 Last Updated: 11 June, 2024