# Slab.SetEdgeConnection for multiple surfaces - solution exception error \[SOLVED\]

**URL:** <https://femdesign.discourse.group/t/slab-setedgeconnection-for-multiple-surfaces-solution-exception-error-solved/108>\
**Category:** Grasshopper\
**Tags:** solved\
**Created:** [18 November 2023 21:00 UTC](https://femdesign.discourse.group/t/slab-setedgeconnection-for-multiple-surfaces-solution-exception-error-solved/108 "2023-11-18T21:00:49Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![MarcoPelle](https://dub1.discourse-cdn.com/flex017/user_avatar/femdesign.discourse.group/marcopelle/32/6_2.png) [@MarcoPelle](https://femdesign.discourse.group/u/MarcoPelle)\
**Post date:** [20 November 2023 13:43 UTC](https://femdesign.discourse.group/t/slab-setedgeconnection-for-multiple-surfaces-solution-exception-error-solved/108/7 "2023-11-20T13:43:02Z")

</div>

@Tomasz_Gniady  
have a look at the following script

[EdgeConnForMultipleSurfaces\_error\_replication\_SOLVED\_2.gh](https://femdesign.discourse.group/uploads/short-url/91j7eT1FDNLwqEteBJVlZwWs3pE.gh) (16.8 KB)

Can you just “setEdgeConnection” without creating a new one?

There is a Bug in constructing the surface again which changes the order of the edge

---

_[View the full topic](https://femdesign.discourse.group/t/slab-setedgeconnection-for-multiple-surfaces-solution-exception-error-solved/108)._
