Error: ')' expected - Imcomplete Closure

is there something wrong with this code?
it displays the error in the title
10-6-2021 9-34-49 AM

Remove the second to last semicolon. I believe there should only be the last one.

Try the following code if in Dynamo 2.0 and above :slight_smile:

DirectShape.ByGeometry(
	Surface.ByLoft(
		NurbsCurve.ByControlPoints(
			[a,b].PointAtSegmentLength(
				0..[a,b].Length..#100
			)
		)
	)
);
2 Likes