User Tools

Site Tools


api:dk11:python:tatukgis_pdk.tgis_shape.create_void

Table of Contents



TGIS_Shape.__init__() constructor

Create a shape instance.

Syntax

# Python
def __init__(
  self
) -> None: 

Remarks

For normal use,TGIS_LayerVector.CreateShape is recommended instead.

PURPOSE: Initialize a new shape object for a specific geometry type managed by the vector-layer framework.

BEHAVIOR: Creates the shape instance withTGIS_DimensionType.XY dimensionality and initializes its internal state by callingRecreate.

USAGE: Create a standalone XY shape instance for advanced scenarios.

shape = TGIS_Shape()

CONSTRAINTS: This constructor is primarily intended for internal or advanced use. In most application code, create shapes through the owning vector layer.

2026/10/31 22:51

Page Tools