friendlysam.parts.Cluster.add_part

Cluster.add_part(part)

Add a part to this cluster.

Parameters:part (Part or subclass instance) – The part to add.
Raises:InsanityError – If the calling part is a descendant of the part to add. (This would generate a cyclic relationship.)