def GetMemberStrId(sid, member_offset):
    s = idaapi.get_struc(sid)
    if not s:
        return -1

    m = idaapi.get_member(s, member_offset)
    if not m:
        return -1

    cs = idaapi.get_sptr(m)
    if cs:
        return cs.id
    else:
        return -1
Test if the MayaVi2 visualization can be deep-copied.
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetMemberStrId--crossover with--dataset/ETHPy150Open enthought/mayavi/mayavi/tests/test_image_data_probe.py/TestImageDataProbe.test_deepcopied