(dsDatabase, dsTypeName)
Returns the object type identified by the name
Returns the object type identified by the name
Returns the object type identified by the name
def dsGetTypeIdByTypeName(dsDatabase, dsTypeName):
    '''
    Returns the object type identified by the name
    '''
    TypeId = -1
    try:
        TypeId = int(dsMapTypeIdByTypeName[dsTypeName])
        return TypeId
    except:
        return -1
def dsGetTypeIdByTypeName ( dsDatabase , dsTypeName ) : TypeId = - 1 try : TypeId = int ( dsMapTypeIdByTypeName [ dsTypeName ] ) return TypeId except : return - 1