def Til2Idb(idx, type_name):
    return idaapi.import_type(idaapi.cvar.idati, idx, type_name)
Copy information from type library to database
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/Til2Idb