from ........Internal.Core import Core
from ........Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class EnvironmentCls:
"""Environment commands group definition. 45 total commands, 7 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("environment", core, parent)
@property
def full(self):
"""full commands group. 4 Sub-classes, 0 commands."""
if not hasattr(self, '_full'):
from .Full import FullCls
self._full = FullCls(self._core, self._cmd_group)
return self._full
@property
def gsr(self):
"""gsr commands group. 11 Sub-classes, 0 commands."""
if not hasattr(self, '_gsr'):
from .Gsr import GsrCls
self._gsr = GsrCls(self._core, self._cmd_group)
return self._gsr
@property
def lmm(self):
"""lmm commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_lmm'):
from .Lmm import LmmCls
self._lmm = LmmCls(self._core, self._cmd_group)
return self._lmm
@property
def mpath(self):
"""mpath commands group. 3 Sub-classes, 0 commands."""
if not hasattr(self, '_mpath'):
from .Mpath import MpathCls
self._mpath = MpathCls(self._core, self._cmd_group)
return self._mpath
@property
def rpl(self):
"""rpl commands group. 7 Sub-classes, 0 commands."""
if not hasattr(self, '_rpl'):
from .Rpl import RplCls
self._rpl = RplCls(self._core, self._cmd_group)
return self._rpl
@property
def vobs(self):
"""vobs commands group. 5 Sub-classes, 0 commands."""
if not hasattr(self, '_vobs'):
from .Vobs import VobsCls
self._vobs = VobsCls(self._core, self._cmd_group)
return self._vobs
@property
def model(self):
"""model commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_model'):
from .Model import ModelCls
self._model = ModelCls(self._core, self._cmd_group)
return self._model
def clone(self) -> 'EnvironmentCls':
"""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 = EnvironmentCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group