User Tools

Site Tools


api:dk11:python:tatukgis_pdk.tgis_shape.create_tgis_dimensiontype

Table of Contents



TGIS_Shape.__init__(TGIS_DimensionType) constructor

Create an empty shape instance with the specified coordinate dimension type.

Syntax

# Python
def __init__(
  self,
  _dim: TGIS_DimensionType
) -> None: 

Parameters

Name Type Description
_dim TGIS_DimensionType Coordinate dimension type for the shape geometry, such as XY, XYZ, XYM, or XYZM.

Remarks

For normal use,TGIS_LayerVector.CreateShape is recommended instead.

PURPOSE: Initialize a new empty shape object with explicit geometry dimensionality.

BEHAVIOR: Creates the shape with default state, no source shape, no geometry buffer, no layer, and the requested dimension type.

CONSTRAINTS: This constructor is primarily intended for internal or advanced use. The selected dimension type should match the intended geometry representation.

2026/10/31 22:51

Page Tools