DK11 for Python | tatukgis.pdk.TGIS_Shape.Recreate | Overloads | Constructors | Methods | Properties
Recreate an instance.
# Python def Recreate( self, _source: TGIS_Shape, _ptr: Pointer, _mapped: bool, _uid: TGIS_Uid, _layer: TGIS_LayerVector, _dim: TGIS_DimensionType ) -> None:
Name | Type | Description |
---|---|---|
_source | TGIS_Shape | If not nil, then the base shape will be based on this shape. Otherwise _ptr, _uid and _layer will be used. |
_ptr | Pointer | Address in memory where shape data exists. |
_mapped | bool | True if pointer is mapped to the file |
_uid | TGIS_Uid | Unique identifier for shape. |
_layer | TGIS_LayerVector | Reference to the layer on which the shape will be created. |
_dim | TGIS_DimensionType | Dimension. |
Use this method to recreate an instance with new basic values. Needed for faster FindNext in mapped file shapes. In such a situation shapes will be "reused" in FindNext loop. See Create method for details and example.