@classmethod
def export_to_hdf5(cls, h5_file, model, pids):
    """exports the properties in a vectorized way"""
    mids = []
    OD = []
    t = []
    nsm = []
    for pid in pids:
        prop = model.properties[pid]
        mids.append(prop.mid)
        OD.append([prop.OD1, prop.OD2])
        t.append(prop.t)
        nsm.append(prop.nsm)
    h5_file.create_dataset('pid', data=pids)
    h5_file.create_dataset('mid', data=mids)
    h5_file.create_dataset('OD', data=OD)
    h5_file.create_dataset('t', data=t)
    h5_file.create_dataset('nsm', data=nsm)
