User Tools

Site Tools


api:dk11:python:tatukgis_pdk.tgis_config.create_tobject_string

Table of Contents

TGIS_Config.__init__ constructor

Creates a configuration wrapper for a layer or project file.

Syntax

# Python
def __init__(
  self,
  _layer: TObject,
  _path: str
) -> None: 

Parameters

Name Type Description
_layer TObject Layer object associated with the configuration.
_path str Full path to the configuration file. It can be empty, in which case only layer-dependent files are used.

Remarks

PURPOSE: Initializes configuration state for subsequent section selection, typed parameter access, and project or layer serialization.

BEHAVIOR: Stores the associated layer context and config path, and prepares the instance for descendant-specific loading and saving behavior.

CONSTRAINTS: This constructor belongs to an abstract base class and is used through descendant classes created for a concrete config format.

2026/08/30 01:12

Page Tools