Sets the attached external BOM of the part reference.
OdResult::eOk if successful, or an appropriate error code otherwise.
Prior to this, the xref drawing to which the BOM belongs should have already been attached as an xref.