from ............Internal.Core import Core
from ............Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class PrecCls:
"""Prec commands group definition. 6 total commands, 6 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("prec", core, parent)
@property
def bbSet1(self):
"""bbSet1 commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_bbSet1'):
from .BbSet1 import BbSet1Cls
self._bbSet1 = BbSet1Cls(self._core, self._cmd_group)
return self._bbSet1
@property
def bsize(self):
"""bsize commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_bsize'):
from .Bsize import BsizeCls
self._bsize = BsizeCls(self._core, self._cmd_group)
return self._bsize
@property
def bsset2(self):
"""bsset2 commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_bsset2'):
from .Bsset2 import Bsset2Cls
self._bsset2 = Bsset2Cls(self._core, self._cmd_group)
return self._bsset2
@property
def btype(self):
"""btype commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_btype'):
from .Btype import BtypeCls
self._btype = BtypeCls(self._core, self._cmd_group)
return self._btype
@property
def mod(self):
"""mod commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_mod'):
from .Mod import ModCls
self._mod = ModCls(self._core, self._cmd_group)
return self._mod
@property
def state(self):
"""state commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_state'):
from .State import StateCls
self._state = StateCls(self._core, self._cmd_group)
return self._state
def clone(self) -> 'PrecCls':
"""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 = PrecCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group