List of lines/curves to make a quadrilateral or polygon

Hi,
Im trying to make this green colored lines as a closed loop polygon/ curve to check whether the list of objects are within it or outside. But Im not able to make closed loop :pensive:

**

**

Next step is from this closed loops polygons I will check the list of objects are within the boundary or outside of it. Probably I will do it with bounding box

Anyone got idea how to make closed loop curve or red-list to to be identified within the curves. :thinking:
Your comments on it would help me alot.

Did you try PolyCurve.ByCurve / PolyCurve.ByPoints?

At least one of the rooms has more than 4 lines defining its perimeter so chopping by 4 isn’t going to work here.

Try using a GroupCurves node from Archilab, and build your polygon from that.

1 Like

I will check and revert with any update
Thank you :clinking_glasses: @Daan @jacob.small

Worked well @Daan and @jacob.small :v: :innocent:

1 Like

I’m using revit 2019 and Dynamo 2.0.3
I need – [&]PolyCurve.ByCurves – to build my script but can not find it anywhere.
Could you please show me where it is??
I’m thinking of using Group Curves of Archi Lab but not really know why it run forever to finish

Check in amphersand package

1 Like

Thanks. Great Help!! will check it out

1 Like