Advertisement
Guest User

Untitled

a guest
Oct 9th, 2015
1,073
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. coordx=[]
  2. ids=[]
  3. list=[]
  4. for i in IN[0]:
  5.     coordx.append(UnwrapElement(i).Location.Point.X)
  6.     ids.append(UnwrapElement(i).Id)
  7.  
  8. list=zip(coordx, ids)
  9. OUT=sorted(list, key=itemgetter(0))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement