[docs]classGeneratorCls:"""Generator commands group definition. 4 total commands, 3 Subgroups, 0 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("generator",core,parent)@propertydefcontrol(self):"""control commands group. 1 Sub-classes, 0 commands."""ifnothasattr(self,'_control'):from.ControlimportControlClsself._control=ControlCls(self._core,self._cmd_group)returnself._control@propertydefinitialise(self):"""initialise commands group. 2 Sub-classes, 0 commands."""ifnothasattr(self,'_initialise'):from.InitialiseimportInitialiseClsself._initialise=InitialiseCls(self._core,self._cmd_group)returnself._initialise@propertydefswitch(self):"""switch commands group. 1 Sub-classes, 0 commands."""ifnothasattr(self,'_switch'):from.SwitchimportSwitchClsself._switch=SwitchCls(self._core,self._cmd_group)returnself._switchdefclone(self)->'GeneratorCls':"""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=GeneratorCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group