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: strUid of connection source. from_slot: strSlot of connection source. to_actor_uid: strUid of connection target. to_slot: strSlot of connection target. passwordOptional[str], optionalPassword, by default None. Returns: strJSON string of connect_nodes command.