I have a small concern about making a Python node.
I can not get the list out of the program. I obtain only an “Empty List”…
However, this is very simple block of code, it intended to create a list from the conditions imposed by two separate lists.
Code Below :
#2018/01/03 import clr clr.AddReference('ProtoGeometry') from Autodesk.DesignScript.Geometry import * # Import méthode extension clr.AddReference("RevitNodes") import Revit clr.ImportExtensions(Revit.Elements) #Entry A = IN  B = IN  C = IN  #Definition i=0 j=0 x=0 imax=len(A) jmax=len(C) l =  #Creation for j in range(jmax): for i in range(imax): if C[j]==A[i]: C[j]=B[j] break #Exit OUT = l
Thank you !
A French guy