User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_layervector.getfield_tgis_uid_string

Table of Contents

TGIS_LayerVector.GetField method

DK11 for Python | tatukgis.pdk.TGIS_LayerVector.GetField | Constructors | Methods | Properties | Events

Gets a field value for a shape determined by its unique identity.

Available also on: Delphi | .NET | Java | ActiveX.

Syntax

# Python
def GetField(
  self,
  _uid: TGIS_Uid,
  _name: str
) -> Variant: 

Parameters

Name Type Description
_uid TGIS_Uid identity
_name str field name

Result

Type Description
Variant Field value. If field value is Null then function will return default value. GetFieldEx will return raw value instead.

Remarks

Use this method to get a field value for a shape given by its unique identity.

When using this operation, never call any function which uses FindFirst..FindNext (i.e., any function which iterates through the shapes using it). So never use inside an operation like Locate etc.

2023/08/09 01:56

Page Tools