copy_node#

TcpOslServer.copy_node(actor_uid: str, target_system_uid: str | None = None, deep_copy: bool = False) → str#

Copy a node specified by uid.

Parameters:
actor_uidstr

Uid of the node to copy.

target_system_uidOptional[str], optional

Uid of the system the node is copied into, by default None. If not specified, the node is copied into the root system.

deep_copybool, optional

Whether children of the node are copied as well, by default False.

Returns:
str

Uid of the copied node.

Raises:
OslCommunicationError

Raised when an error occurs while communicating with server.

OslCommandError

Raised when the command or query fails.

TimeoutError

Raised when the timeout float value expires.