find_nodes_by_name#
- abstractmethod System.find_nodes_by_name(name: str, search_depth: int = 1) Tuple[Node, ...]#
Find nodes in the system with a specified name.
This method searches only in the descendant nodes for the current system.
- Parameters:
- name
str Name of the node.
- search_depth: int, optional
Depth of the node subtree to search. The default is
1, which corresponds to direct children nodes of the current system. Set to-1to search throughout the full depth.
- name
- Returns:
Tuple[Node, …]Tuple of nodes with the specified name.
- Raises:
OslCommunicationErrorRaised when an error occurs while communicating with the server.
OslCommandErrorRaised when a command or query fails.
TimeoutErrorRaised when the timeout float value expires.
TypeErrorRaised when an unknown type of component is found.