Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

line to curve dynamo revit

import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

def CRV_to_LIN (crv):
	line = Line.ByStartPointEndPoint(crv.StartPoint, crv.EndPoint)
	return line 
	
Curves = IN[0]

OUT = [CRV_to_LIN(i) for i in Curves]
Source by forum.dynamobim.com #
 
PREVIOUS NEXT
Tagged: #line #curve #dynamo #revit
ADD COMMENT
Topic
Name
7+7 =