📜  IntersectAll dynamo revit - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:47.201000             🧑  作者: Mango

代码示例1
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

clr.AddReference('DSCoreNodes')
from DSCore import *

Curves = IN[0]
Surfaces = IN[1]

Ptse= []

for curves,surface in zip(Curves,Surfaces):
    temp = []
    for c in curves:
        Ptsg= Geometry.IntersectAll(c,surface)
        temp.append(Ptsg)
    Ptse.append(temp)
OUT = Ptse