from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal.Types import DataType
from ....Internal.ArgSingleList import ArgSingleList
from ....Internal.ArgSingle import ArgSingle
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class RemoveCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("remove", core, parent)
[docs]
def set(self, diagram: str, zoom: str) -> None:
"""
``LAYout:ZOOM:REMove`` \n
Snippet: ``driver.layout.zoom.remove.set(diagram = 'abc', zoom = 'abc')`` \n
Removes the specified zoom diagram.
"""
param = ArgSingleList().compose_cmd_string(ArgSingle('diagram', diagram, DataType.String), ArgSingle('zoom', zoom, DataType.String))
self._core.io.write_with_opc(f'LAYout:ZOOM:REMove {param}'.rstrip())