User Tools

Site Tools


api:dk11:python:tatukgis_pdk.igis_viewer3d.zoomby_double_integer_integer

Table of Contents



IGIS_Viewer3D.ZoomBy method

Zooms the view by a factor, using the screen center when AdvNavigation is False or the mouse position when it is True.

Syntax

# Python
def ZoomBy(
  self,
  _value: float,
  _x: int,
  _y: int
) -> None: 

Parameters

Name Type Description
_value float Zoom multiplier applied to the current zoom value.
_x int Center point X coordinate.
_y int Center point Y coordinate.

Remarks

USAGE: Zoom the 3D view around a screen position.

viewer3d.ZoomBy(3 / 2, mouse_x, mouse_y)

2026/10/31 22:49

Page Tools