[docs]classUpperCls:"""Upper commands group definition. 7 total commands, 7 Subgroups, 0 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("upper",core,parent)@propertydefmargin(self):"""margin commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_margin'):from.MarginimportMarginClsself._margin=MarginCls(self._core,self._cmd_group)returnself._margin@propertydefmode(self):"""mode commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_mode'):from.ModeimportModeClsself._mode=ModeCls(self._core,self._cmd_group)returnself._mode@propertydefoffset(self):"""offset commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_offset'):from.OffsetimportOffsetClsself._offset=OffsetCls(self._core,self._cmd_group)returnself._offset@propertydefshift(self):"""shift commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_shift'):from.ShiftimportShiftClsself._shift=ShiftCls(self._core,self._cmd_group)returnself._shift@propertydefspacing(self):"""spacing commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_spacing'):from.SpacingimportSpacingClsself._spacing=SpacingCls(self._core,self._cmd_group)returnself._spacing@propertydefstate(self):"""state commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_state'):from.StateimportStateClsself._state=StateCls(self._core,self._cmd_group)returnself._state@propertydefthreshold(self):"""threshold commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_threshold'):from.ThresholdimportThresholdClsself._threshold=ThresholdCls(self._core,self._cmd_group)returnself._thresholddefclone(self)->'UpperCls':"""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=UpperCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group