# User\_defined\_filter

**URL:** <https://femdesign.discourse.group/t/user-defined-filter/558>\
**Category:** Features & Ideas\
**Created:** [8 October 2025 08:16 UTC](https://femdesign.discourse.group/t/user-defined-filter/558 "2025-10-08T08:16:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geni](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@Geni](https://femdesign.discourse.group/u/Geni)\
**Post date:** [8 October 2025 08:16 UTC](https://femdesign.discourse.group/t/user-defined-filter/558/1 "2025-10-08T08:16:59Z")

</div>

Hello,  
It would be nice to have the ability to create _user-defined filters_ through the API. It seems that the FEM-Design API does not currently support this feature. I tried working with Struxml and managed to create a user-defined filter, but after importing the Struxml into FD, the filter did not appear.

Geni  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/femdesign_api/optimized/1X/8aaf174698925977b709d9a57fb771eb60ca390e_2_690x20.png)

---

<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:** [8 October 2025 08:40 UTC](https://femdesign.discourse.group/t/user-defined-filter/558/2 "2025-10-08T08:40:38Z")

</div>

Hi @Geni 👋

Really nice idea! It seems a valuable feature to implement. I have added the request to our pipeline. [Github Issue](https://github.com/ms-structural/femdesign-api/issues/1174)

However, I tried to to save a model with filters in the .struxml format, I then tried to open it and it seems to work. Can you please send me your file or a smaller version where I can replicate the issue?

[filter\_test.struxml](https://femdesign.discourse.group/uploads/short-url/iCbBa0EicAkiDhl12hp8Sy3Hxm3.struxml) (10.6 KB)

---

<div class="post-metadata">

**Author:** ![Geni](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@Geni](https://femdesign.discourse.group/u/Geni)\
**Post date:** [8 October 2025 09:16 UTC](https://femdesign.discourse.group/t/user-defined-filter/558/3 "2025-10-08T09:16:02Z")

</div>

I see that I did not provide the correct problem 🙂. Yes, it works when I open the model, but what doesn’t work is when I merge or update the model. I get the changes done to objects elements, but not the filter. What I am doing is creating a Struxml file from a model, then working with that file, making changes or updates to some bars, and finally merging the model with that file. My idea was to group all the changed objects into a filter, so that I can later visually see them in FD.

---

<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:** [8 October 2025 10:38 UTC](https://femdesign.discourse.group/t/user-defined-filter/558/4 "2025-10-08T10:38:03Z")

</div>

How do you merge the two models? Are you using a specific FEM-Design functionality?  
Sorry to ask but I might need to open a ticket for our developer la and I need to be sure I understand the steps.  
It seems a FEM-Design issue. not YET api issue 🙂

---

<div class="post-metadata">

**Author:** ![Geni](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@Geni](https://femdesign.discourse.group/u/Geni)\
**Post date:** [8 October 2025 11:03 UTC](https://femdesign.discourse.group/t/user-defined-filter/558/5 "2025-10-08T11:03:31Z")

</div>

I am using FEM-Design functionality, Edit\>Merge. Yes, I think this might be FEM-Design issue. But in the first case I was thinking, creating and managing user defined filters directly through FEM-Design API it would be nice. And hopefully Strusoft will do something with Merge-issue.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/femdesign_api/original/1X/b95a37629bc3b7a14f1cc97e0538246d8359391d.png)

---

<div class="post-metadata">

**Author:** ![FredrikJannesson](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@FredrikJannesson](https://femdesign.discourse.group/u/FredrikJannesson)\
**Post date:** [15 October 2025 06:22 UTC](https://femdesign.discourse.group/t/user-defined-filter/558/6 "2025-10-15T06:22:59Z")

</div>

Hello,

If it just for visual purpose and the ability to easily access the elements you just created or did changes to you might be able to just give those objects a unique “Identifier” instead of the default ones:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/femdesign_api/original/1X/c7bf5eef046c70e1daec42cf658d33b8ae9462d4.png)

And they will appear as a “filter”:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/femdesign_api/original/1X/0ece68ccdb5519af7b1bf59f8c7b7658f0b170fc.png)
