# IfcStructuralSurfaceMember

**URL:** <https://forums.buildingsmart.org/t/ifcstructuralsurfacemember/4935>\
**Category:** Developers\
**Tags:** analytical-view\
**Created:** [September 18, 2023, 4:13pm UTC](https://forums.buildingsmart.org/t/ifcstructuralsurfacemember/4935 "2023-09-18T16:13:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@Max](https://forums.buildingsmart.org/u/Max)\
**Post date:** [September 18, 2023, 4:13pm UTC](https://forums.buildingsmart.org/t/ifcstructuralsurfacemember/4935/1 "2023-09-18T16:13:57Z")

</div>

Hi,

I’m interested in creating Structural Surface members using IFCscript. However, I’m facing an issue where RFEM doesn’t seem to recognize the surfaces correctly, and the structure of the IFC tree appears different (see the image below). Specifically, the RFEM IfcTree contains IfcStructuralCurveConnection(s), but the constructor for this class is private.

It’s worth noting that the IfcStructuralSurfaceMember doesn’t require IfcStructuralCurveConnection(s), whereas the IfcStructuralCurveMembers need IfcStructuralPointConnection(s).

Could someone assist me in generating the correct Ifc tree that RFEM is producing.

 ![StructuralSurfaceIFCCompare_1](https://us1.discourse-cdn.com/flex016/uploads/buildingsmart1/original/2X/f/fad875f14e5804c1ccac98953f80e490cfa2f111.jpeg)

Kind regards,  
Max Hamelijnck

---

<div class="post-metadata">

**Author:** ![Max](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@Max](https://forums.buildingsmart.org/u/Max)\
**Post date:** [September 28, 2023, 12:15pm UTC](https://forums.buildingsmart.org/t/ifcstructuralsurfacemember/4935/2 "2023-09-28T12:15:00Z")

</div>

@jonm I use the IFC script of GeometryGym.Ifc, do you have an answer to this question?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/buildingsmart1/original/2X/5/5610283bef1eaf15f425c7fb95db34c7708176c5.png)

---

<div class="post-metadata">

**Author:** ![jonm](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/jonm/32/16_2.png) [@jonm](https://forums.buildingsmart.org/u/jonm)\
**Post date:** [September 28, 2023, 8:39pm UTC](https://forums.buildingsmart.org/t/ifcstructuralsurfacemember/4935/3 "2023-09-28T20:39:32Z")

</div>

Hi Max,

Thanks for the query. How old is the build of the toolkit you are using?  
If you can either update to latest nuget package, or fetch latest commits, there is now a public constructor for IfcStructuralCurveConnection. Refer to [https://github.com/GeometryGym/GeometryGymIFC/blob/22a4a08dfcee05889933ab6d1d96f10c7287fb00/Core/IFC/IFC%20S.cs#L1609](https://github.com/GeometryGym/GeometryGymIFC/blob/22a4a08dfcee05889933ab6d1d96f10c7287fb00/Core/IFC/IFC%20S.cs#L1609)

Each class should have a public constructor (the constructors with duplicateoptions as a parameter are more for extracting a subset of an IFC data set). Typically there will be a constructor with the mandatory attributes, and many classes have a constructor with typical attributes.

Some of the relationships you highlight are inverse, so it’s a constructor on the related class that is required, rather than a direct attribute being set.

The toolkit should facilitate you to generate the same hierarchy as RFEM output.

Cheers,

Jon
