User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_shape.create_tgis_shape_pointer_boolean_tgis_uid_tgis_layervector_tgis_dimensiontype

Table of Contents

TGIS_Shape.__init__(TGIS_Shape, Pointer, bool, TGIS_Uid, TGIS_LayerVector, TGIS_DimensionType) constructor

DK11 for Python | tatukgis.pdk.TGIS_Shape.Create | Overloads | Constructors | Methods | Properties

Create a shape instance.

Available also on: Delphi | ActiveX.

Syntax

# Python
def __init__(
  self,
  _source: TGIS_Shape,
  _ptr: Pointer,
  _mapped: bool,
  _uid: TGIS_Uid,
  _layer: TGIS_LayerVector,
  _dim: TGIS_DimensionType
) -> None: 

Parameters

Name Type Description
_source TGIS_Shape If not nil then base shape will be based on this shape. Otherwise _prt, _mapped, _uid and _layer will be used.
_ptr Pointer Address in memory where shape data exists.
_mapped bool Id _ptr from mapped file or from memory.
_uid TGIS_Uid Unique identity for shape.
_layer TGIS_LayerVector Reference to the layer on which shape will be created.
_dim TGIS_DimensionType Dimension

Remarks

For usage TGIS_LayerVector.CreateShape method is recommended instead.

Use this method to create a shape. Internally it calls Recreate method.

2023/08/09 01:59

Page Tools