from .............Internal.Core import Core
from .............Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class TxSchemeCls:
"""TxScheme commands group definition. 4 total commands, 4 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("txScheme", core, parent)
@property
def cdmData(self):
"""cdmData commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_cdmData'):
from .CdmData import CdmDataCls
self._cdmData = CdmDataCls(self._core, self._cmd_group)
return self._cdmData
@property
def nlayers(self):
"""nlayers commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_nlayers'):
from .Nlayers import NlayersCls
self._nlayers = NlayersCls(self._core, self._cmd_group)
return self._nlayers
@property
def sri(self):
"""sri commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_sri'):
from .Sri import SriCls
self._sri = SriCls(self._core, self._cmd_group)
return self._sri
@property
def tpmidx(self):
"""tpmidx commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_tpmidx'):
from .Tpmidx import TpmidxCls
self._tpmidx = TpmidxCls(self._core, self._cmd_group)
return self._tpmidx
def clone(self) -> 'TxSchemeCls':
"""Clones the group by creating new object from it and its whole existing subgroups
Also copies all the existing default Repeated Capabilities setting,
which you can change independently without affecting the original group"""
new_group = TxSchemeCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group