Perhaps you could add this functionality to the built-in vendor support? pcb/src/vendor.c already loads vendor-specific data for drills, copper, and spacing.