如何使用Dynamo For Revit 創(chuàng)建一個鏤空圓柱面?
效果如下:

20180228192550733.png
右擊在新的標(biāo)簽頁打開更加清楚。(已經(jīng)對節(jié)點進(jìn)行分組并加了注釋)

20180228185745276.png
Python 節(jié)點中的代碼(求輸入的表面中面積最大的一個):
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
surfaces = IN[0]
index = 0;
maxArea = 0.0;
maxIndex = 0;
for surface in surfaces:
if surface.Area > maxArea:
maxArea = surface.Area
maxIndex = index
index = index + 1
#Assign your output to the OUT variable.
OUT = maxIndex