def METHOD_NAME(self, bdf_file, size=8, eids=None):
    if self.n:
        if eids is None:
            i = arange(self.n)
        else:
            i = searchsorted(self.element_id, self.eid)
        N1 = self.node_ids[i, 0]
        N2 = self.node_ids[i, 1]
        C1 = self.components[i, 0]
        C2 = self.components[i, 1]
        for (eid, k, n1, n2, c1, c2, ge, s) in zip(self.element_id[i],
                self.K[i], N1, N2, C1, C2, self.ge[i], self.s[i]):
            card = ['CELAS2', eid, k, n1, c1, n2, c2, ge, s]
            if size == 8:
                bdf_file.write(print_card_8(card))
            else:
                bdf_file.write(print_card_16(card))