def getLayerLineInfo():
    data = OrderedDict()
    for layer in oEditor.GetStackupLayerNames():
        objs = oEditor.FindObjects('layer', layer)
        data[layer] = list(set(lines).intersection(set(objs)))
    result = OrderedDict()
    for layer in data:
        if (not bool(data[layer])):
            continue
        result[layer] = {}
        for line in data[layer]:
            net = oEditor.GetPropertyValue('BaseElementTab', line, 'Net')
            line_width = oEditor.GetPropertyValue('BaseElementTab', line, 'LineWidth')
            try:
                result[layer][net] += [(line, line_width)]
            except:
                result[layer][net] = [(line, line_width)]
    return result
def getLayerLineInfo():
    data = OrderedDict()
    for layer in oEditor.GetStackupLayerNames():
        objs = oEditor.FindObjects('layer', layer)
        data[layer] = list(set(lines).intersection(set(objs)))
    result = OrderedDict()
    for layer in data:
        if (not bool(data[layer])):
            continue
        result[layer] = {}
        for line in data[layer]:
            net = oEditor.GetPropertyValue('BaseElementTab', line, 'Net')
            line_width = oEditor.GetPropertyValue('BaseElementTab', line, 'LineWidth')
            try:
                result[layer][net] += [(line, line_width)]
            except:
                result[layer][net] = [(line, line_width)]
    return result