Modifying part using assembly dimensions

Hi

Suppose I'd like to modify a part using other part's positions/dimensions in an assembly. For instance, adding a small pole inside an enclosure for a second gear. It'd depend on how/where the gears mesh. Is there a way to somehow use other parts as reference?

Thanks

SolidworksAssemblies