connect_nodes#

ansys.optislang.core.tcp.server_commands.connect_nodes(from_actor_uid: str, from_slot: str, to_actor_uid: str, to_slot: str, password: str | None = None) str#

Generate JSON string of connect_nodes command.

Parameters:
from_actor_uid: str

Uid of connection source.

from_slot: str

Slot of connection source.

to_actor_uid: str

Uid of connection target.

to_slot: str

Slot of connection target.

passwordOptional[str], optional

Password, by default None.

Returns:
str

JSON string of connect_nodes command.