Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import clr
- clr.AddReference('ProtoGeometry')
- from Autodesk.DesignScript.Geometry import *
- #The inputs to this node will be stored as a list in the IN variables.
- dataEnteringNode = IN
- list=IN[0]
- key=IN[1]
- a=[]
- for x in key:
- b=[]
- for y in list:
- if x == y:
- b.append(x)
- a.append(b)
- OUT = a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement