📜  线到曲线发电机 revit - Python 代码示例

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

代码示例2
import clr
clr.AddReference('ProtoGeometry')
import Autodesk.DesignScript.Geometry
a = IN[0]
if isinstance(a, list):
    a = a
else: a = [a]
e = []
for i in a:
    e.append(Autodesk.DesignScript.Geometry.Curve.Offset(i,0))
OUT = e