Assembly.connections

Assembly.connections(data=False)[source]

Iterate over the connections between the parts.

Parameters

data (bool, optional) – If True, yield both the identifier and the attributes of each connection.

Yields

tuple – The next connection identifier (u, v), if data is False. Otherwise, the next connector identifier and its attributes as a ((u, v), attr) tuple.