Allplan Fórum

[Otázka] Create a line from a list in a list

Tagy:
  • Visual Script

Hello. Everyone.

I want to make a line with items in a list in a list. I want to connect each column with a line in the item (List[10][2]) as shown in the figure. How should I connect it?

In List 0, 0 as the start point and 1 as the end point
In List 1, 0 as the start point and 1 as the end point
In List 2, 0 as the start point and 1 as the end point
.
.
.

Přílohy (1)

Type: image/png
Staženo 103
Size: 1,76 MiB

The easiest way is: to determine the start and end points with separate DivisionPointNodes (s. cross_conn1.png)

The alternative would be to "split" the list into 2 lists for start and end points of the lines. But this does not work with the nodes ListFront and ListBack! (s cross_conn2.png)

With the Node SubListsByRedutction it works. (s. cross_conn3.png)

Přílohy (3)

Type: image/png
Staženo 122
Size: 127,53 KiB
Type: image/png
Staženo 90
Size: 52,76 KiB
Type: image/png
Staženo 84
Size: 118,69 KiB