# 3-matics create surface set

**URL:** <https://community.materialise.com/t/3-matics-create-surface-set/709>\
**Category:** MIS - Scripting Forum\
**Tags:** 3-matic\
**Created:** [January 23, 2023, 2:29pm UTC](https://community.materialise.com/t/3-matics-create-surface-set/709 "2023-01-23T14:29:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmeth](https://avatars.discourse-cdn.com/v4/letter/p/90db22/32.png) [@pmeth](https://community.materialise.com/u/pmeth)\
**Post date:** [January 23, 2023, 2:29pm UTC](https://community.materialise.com/t/3-matics-create-surface-set/709/1 "2023-01-23T14:29:26Z")

</div>

Hi,

Is it possible to create a surface set in 3-matics?

I can see various functions to work with SurfaceSets:

- trimatic.fix.surface\_sets\_to\_parts
- trimatic.types.Part.find\_surface\_set
- trimatic.types.Part.find\_surface\_sets
- trimatic.types.Part.get\_surface\_sets
- trimatic.types.SurfaceSet.find\_surface\_set
- trimatic.types.SurfaceSet.find\_surface\_sets
- trimatic.types.SurfaceSet.get\_surface\_sets

but I cant see anything to create a new SurfaceSet.

Thanks

---

<div class="post-metadata">

**Author:** ![imaninanoh](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.materialise.com/imaninanoh/32/123_2.png) [@imaninanoh](https://community.materialise.com/u/imaninanoh)\
**Post date:** [January 25, 2023, 9:37am UTC](https://community.materialise.com/t/3-matics-create-surface-set/709/2 "2023-01-25T09:37:36Z")

</div>

Hi Peter,

Thank you for reaching out to us.  
Before I can help you with your question, could you help me know if by creating a surface set, does this mean that your main goal is to group several surfaces under one set? Or else, do you want to create a surface in an existing or new part?

Thanks,

Kind regards,  
Imanina

---

<div class="post-metadata">

**Author:** ![pmeth](https://avatars.discourse-cdn.com/v4/letter/p/90db22/32.png) [@pmeth](https://community.materialise.com/u/pmeth)\
**Post date:** [January 25, 2023, 9:53am UTC](https://community.materialise.com/t/3-matics-create-surface-set/709/3 "2023-01-25T09:53:29Z")

</div>

Hi Imanina

It was to group several related surfaces into a surface set (in an existing part).

Best wishes, Pete

---

<div class="post-metadata">

**Author:** ![imaninanoh](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.materialise.com/imaninanoh/32/123_2.png) [@imaninanoh](https://community.materialise.com/u/imaninanoh)\
**Post date:** [January 25, 2023, 11:26am UTC](https://community.materialise.com/t/3-matics-create-surface-set/709/4 "2023-01-25T11:26:27Z")

</div>

Hi Pete,

Thank you for your fast response.  
For your information, for the time being we don’t have the API to group several surfaces into a surface set.

However, one workaround that I can suggest is to move the surfaces that you want to group to a new part, rename the part as per desired and finally merge the new part with the original part.

API that you can use:

1. trimatic.move\_to\_part
2. trimatic.merge

In the example below, I have moved _surface\_a_ and _surface\_b_ from _part1_ into a new part, rename the new part as ‘surface\_set1’, merge this part with part1, and rename the resulting part as ‘part1’.

before:  
 ![2023-01-25_19-12-07](https://canada1.discourse-cdn.com/flex035/uploads/materialiseacademy/original/1X/0f4f264fd568918872eedf12e06a29cb31c151c5.png)

after:  
 ![2023-01-25_19-17-40](https://canada1.discourse-cdn.com/flex035/uploads/materialiseacademy/original/1X/f43cc32566cfee7edcc9eb2bc9f23719b1e63104.png)

Please let me know if you need further clarification on how to do this operation.  
Hope this helps!

Kind regards,  
Imanina
