Hi!
I want to create 2 floors with python Script node. Attached image.
Could someone help me, please? I started with python and I get a little. Thank!
Could someone help me, please? I started with python and I get a little. Thank!
l is a list of curves. To use the ToRevitType method you will have to go one list level deeper.
Something like this:
#start your transaction here
#define the floors list here
for crvList in polygons:
#define curve loops array here
#define curve loop here
for crv in crvList:
#convert the curve to a Revit curve here
#add the Revit curve to the curve loop
#add the curve loop to the curve loops array
#create the floor here
#add the floor to the floors list here
#finish the transaction here
#output the floors list here