from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
from ..... import repcap
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class FormatPyCls:
"""
| Commands in total: 16
| Subgroups: 4
| Direct child commands: 2
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("formatPy", core, parent)
@property
def fcount(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_fcount'):
from .Fcount import FcountCls
self._fcount = FcountCls(self._core, self._cmd_group)
return self._fcount
@property
def addFrame(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_addFrame'):
from .AddFrame import AddFrameCls
self._addFrame = AddFrameCls(self._core, self._cmd_group)
return self._addFrame
@property
def clr(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_clr'):
from .Clr import ClrCls
self._clr = ClrCls(self._core, self._cmd_group)
return self._clr
@property
def frame(self):
"""
| Commands in total: 11
| Subgroups: 5
| Direct child commands: 0
"""
if not hasattr(self, '_frame'):
from .Frame import FrameCls
self._frame = FrameCls(self._core, self._cmd_group)
return self._frame
def clone(self) -> 'FormatPyCls':
"""
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 = FormatPyCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group