Assembly.connections
- Assembly.connections(data=False)[source]
Iterate over the connections between the parts.
- Parameters
data (bool, optional) – If True, yield the connection attributes in addition to the connection identifiers.
- Yields
tuple[int | str, int | str] | tuple[tuple[int | str, int | str], dict[str, Any]] – If data is False, the next connection identifier (u, v). If data is True, the next connector identifier and its attributes as a ((u, v), attr) tuple.