Hello Allplan community,

Having worked extensively with Grasshopper, I am now exploring the visual scripting tool in Allplan. My goal is to derive planes from Allplan stairs, which I later want to use as reference planes for rooms inside staircases.

I have tried multiple panels and ideas, and perhaps someone can give me a hint about which approach is the most promising:

As a starting point, I am using the Select Geometry bracket to input a geometry into the script. Then:

1) I tried the Get Faces bracket. The problem was that the Faces output list was [0], so the bracket did not get any faces.

2) I wanted to get the vertices, only to realize that the vertices are not sorted in a reliable geometrical logic. See Picture 2.

3) I attempted to use the Get Edges command, but encountered the same issue as with the vertices; the list was disorganized.

4) I used the Get Faces as a Brep bracket, which seemed the most promising. It can derive a plane using an index and is consistent in getting the faces. This works for the bottom side of the stair. However, for the top side of the stair, I need to derive the face of every step. Therefore, I need to input a range of indexes, which is simply not possible with this bracket.

Option 4 would be the most promising to me if I could input the range. By knowing how many steps I have in the stair and which joints I have chosen, I can simply calculate the index of the desired faces and then derive the ones I would like to extract from the geometry to use them as reference planes.

I would greatly appreciate any input and help on this matter. Thank you in advance for your assistance!

Best regards,

Adrian