Creating railing from Room Boundary

hello everyone,
As a biginner dynamo user, I would like to create railing from rooms boundary .I’ve made a script but unfortunatly it doesn’t Work .I need help.
Thank’s so much.

Hi @TOUFIK.meniai,

You need the wombat package to create railings.

thank you for your help Alban_de_Chasteigner,
I’m wondering if it’s possible to deduct door’s widht from room’s polycurve?
best regards,

It seems that this question has already been asked several times on the forum but that there was no obvious answer.

Autodesk.Point.Z(x)==0 && Autodesk.Point.Z(y)==0?
true:
false;

room%20boundaries%203

Thank you so much.it’s perfectly work .

Hello, it seems the program works with only one surface. If you put a wall in the middle of the area to create two areas, railings are drawned twice along the same wall…do you have a solution ?

were you able to figure this out? i am currently trying to place railings around slab and its openings but have not been successful.