Hello, I am quite new to Dynamo and trying to make this work:

As shown in the picture below, I wanted Dynamo to read the list of coordinates and create 2D shapes along a line. All of the points needed for Polygon.bypoints have already been worked out by formulas and each of the list with in the list contains the four necessary coordinates to create this trapezoid shape. However, Dynamo couldn’t connect the proper shape despite the four points are correctly displayed.

I wonder if the list could be the problem, so I have shown list logic in the screenshot below.

As new users can only post one picture, I will follow this up in a comment below.

I did some research before posting on the forum and figure the problem could also be on the fact that the Polygon.bypoints function doesn’t read input like how I created the lists within lists. I was also trying to find alternatives such as Polycurve.bypoints to test out if the Polygon function is the problem, but not much luck on that end.

Any help would be greatly appreciated.

-lok