The Attach Options dialog opens when you attach two or more objects to which different materials are assigned. It provides three different methods of combining the sub-materials and the material IDs in the two objects.
The number of material IDs in the attached objects are modified so they are no greater than the number of sub-materials assigned to those objects. For example, if you have a box with only two sub-materials assigned to it, and you attach it to another object, the box will have only two material IDs, instead of the six it was assigned on creation.
Maintains the original ID assignment in the attached objects by adjusting the number of sub-materials in the resulting multi/sub-object material. For example, if you attach two boxes, both assigned single materials, but with their default assignment of 6 material IDs, the result would be a multi/sub-object material with 12 sub-materials (six containing instances of one box's material, and six containing instances of the other box's material). Use this option when it's important to maintain the original material ID assignments in your geometry.
Prevents adjusting the number of sub-materials in the resulting sub-object material. Note that, if the number of material IDs in an object is greater than the number of sub-materials in its multi/sub-object material, then the resulting face-material assignment might be different after the attach operation.