User Tools

Site Tools


api:dk11:python:tatukgis_pdk.igis_viewer3d.locate3d_tpoint_integer_tgis_layerabstract_tgis_point3d_tgis_shapeabstract_integer

Table of Contents

IGIS_Viewer3D.Locate3D method

Select object in 3D

Syntax

# Python
def Locate3D(
  self,
  _pt: TPoint,
  _prec: int,
  _layer: VarParameter,
  _ptg: VarParameter,
  _shp: VarParameter,
  _part: VarParameter
) -> bool: 

Parameters

Name Type Description
_pt TPoint screen coordinate
_prec int precision in pixels (must be >= 0)
_layer TGIS_LayerAbstract input : layer to be searched, if nil all layers will be searched output : layer contained located object, if nil no object located
_ptg TGIS_Point3D hitting point
_shp TGIS_ShapeAbstract located shape or nil
_part int located shape part number

Result

Type Description
bool True if shape was found
2026/06/12 20:45

Page Tools