# Error in Element Selection by Part for Compound Parts

**URL:** <https://prepomax.discourse.group/t/error-in-element-selection-by-part-for-compound-parts/2466>\
**Category:** Bug Reports\
**Created:** [February 12, 2025, 7:44pm UTC](https://prepomax.discourse.group/t/error-in-element-selection-by-part-for-compound-parts/2466 "2025-02-12T19:44:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke.R](https://avatars.discourse-cdn.com/v4/letter/l/91b2a8/32.png) [@Luke.R](https://prepomax.discourse.group/u/Luke.R)\
**Post date:** [February 12, 2025, 7:44pm UTC](https://prepomax.discourse.group/t/error-in-element-selection-by-part-for-compound-parts/2466/1 "2025-02-12T19:44:11Z")

</div>

I’ve noticed an issue in selection of elements with compound parts, where the element selection goes beyond the bounds of the selected part. It looks like the element selection is extending to elements which share common nodes with the elements that are actually within the part bounds. I feel like I’ve seen this bug reported before, but I couldn’t find it anywhere in the recent bug reports/posts. Apologies if this is a duplication of a known report that is already open.

I’ve tested this with the current release 2.2.0 and 2.2.11 dev and observe the issue in both. I tested in 2.1.0 and did not observe the issue.

This is what I am experiencing (2.2.0 and 2.2.11 dev):

 ![image](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/1/1e2c32cbe88a631b5d9aac5467a82249ac952ee5.jpeg)

This is what I am expecting to see (2.1.0):

 ![image](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/2/2ac3fddac76227f06410655e07bdeec3e01c2a48.jpeg)

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [March 20, 2025, 9:55am UTC](https://prepomax.discourse.group/t/error-in-element-selection-by-part-for-compound-parts/2466/2 "2025-03-20T09:55:18Z")

</div>

I tried to reproduce the problem but I failed. Can you explain which feature you are creating (Element set, Secion assignment) and what settings (print-screen) are you using?

---

<div class="post-metadata">

**Author:** ![Gunnar](https://avatars.discourse-cdn.com/v4/letter/g/ed655f/32.png) [@Gunnar](https://prepomax.discourse.group/u/Gunnar)\
**Post date:** [March 20, 2025, 3:50pm UTC](https://prepomax.discourse.group/t/error-in-element-selection-by-part-for-compound-parts/2466/3 "2025-03-20T15:50:23Z")

</div>

Meshing Parameters “Advanced” \> Mesh operation: Split comp. mesh= No, Merge comp. parts= No

create Element Set → set selection to part → Elements of adjacent parts are also selected:

![2210](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/f/ff2216d43cbc575a3f447125168566a5c39c8aec.gif)

Up to V2.1.0 the selection was only limited to elements of the selected solid:

![210](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/9/99973039ad8a348c53cf45bfc223a9db405932e7.gif)

---

<div class="post-metadata">

**Author:** ![Luke.R](https://avatars.discourse-cdn.com/v4/letter/l/91b2a8/32.png) [@Luke.R](https://prepomax.discourse.group/u/Luke.R)\
**Post date:** [March 20, 2025, 4:05pm UTC](https://prepomax.discourse.group/t/error-in-element-selection-by-part-for-compound-parts/2466/4 "2025-03-20T16:05:40Z")

</div>

Exactly this. Couldn’t have shown it better myself. Thanks Gunnar!

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [March 21, 2025, 8:48am UTC](https://prepomax.discourse.group/t/error-in-element-selection-by-part-for-compound-parts/2466/5 "2025-03-21T08:48:33Z")

</div>

Aaa, OK. Now I understand. I will try to fix it back as it was. Now I am wondering why I changed it in the first place…

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [March 23, 2025, 8:35am UTC](https://prepomax.discourse.group/t/error-in-element-selection-by-part-for-compound-parts/2466/6 "2025-03-23T08:35:42Z")

</div>

I added some speed improvements and changed the code. I fixed it back 🙂

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [March 25, 2025, 12:32pm UTC](https://prepomax.discourse.group/t/error-in-element-selection-by-part-for-compound-parts/2466/7 "2025-03-25T12:32:58Z")

</div>

Does it work now as expected?

---

<div class="post-metadata">

**Author:** ![Luke.R](https://avatars.discourse-cdn.com/v4/letter/l/91b2a8/32.png) [@Luke.R](https://prepomax.discourse.group/u/Luke.R)\
**Post date:** [March 25, 2025, 5:07pm UTC](https://prepomax.discourse.group/t/error-in-element-selection-by-part-for-compound-parts/2466/8 "2025-03-25T17:07:03Z")

</div>

Yes! Works exactly as expected. Thank you.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [March 25, 2025, 6:47pm UTC](https://prepomax.discourse.group/t/error-in-element-selection-by-part-for-compound-parts/2466/9 "2025-03-25T18:47:24Z")

</div>

I am closing this topic.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [March 25, 2025, 6:47pm UTC](https://prepomax.discourse.group/t/error-in-element-selection-by-part-for-compound-parts/2466/10 "2025-03-25T18:47:26Z")

</div>


