the idea of using a mpd file to store the relationships between related parts is a great one here IMHO.
it simply allows to provide a list of part combinations,
and this list easily can be used by the tool to insert the related parts.
my suggestion would be to provide this mpd file together with the tool,
and make the tool parse that list at runtime
it simply allows to provide a list of part combinations,
and this list easily can be used by the tool to insert the related parts.
my suggestion would be to provide this mpd file together with the tool,
and make the tool parse that list at runtime