Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- coordx=[]
- ids=[]
- list=[]
- for i in IN[0]:
- coordx.append(UnwrapElement(i).Location.Point.X)
- ids.append(UnwrapElement(i).Id)
- list=zip(coordx, ids)
- OUT=sorted(list, key=itemgetter(0))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement