This tutorial starts with an existing framework (download here). I also included two rules to control the circles to always sit inside of the control points.
The document template allows you to deal with advanced replication of solids. It also allows you to create separate files for each part, so that each instance can be modified independently.
If you want to jump ahead to the actual making of the document template you can download the geometry for the part (here).