# Baffle Planner: Limitation in Creating Multiple Baffles Simultaneously

**URL:** <https://discourse.slicer.org/t/baffle-planner-limitation-in-creating-multiple-baffles-simultaneously/40666>\
**Category:** Development\
**Tags:** slicerheart\
**Created:** [December 12, 2024, 9:17pm UTC](https://discourse.slicer.org/t/baffle-planner-limitation-in-creating-multiple-baffles-simultaneously/40666 "2024-12-12T21:17:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnWick](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/johnwick/32/80475_2.png) [@JohnWick](https://discourse.slicer.org/u/JohnWick)\
**Post date:** [December 12, 2024, 9:17pm UTC](https://discourse.slicer.org/t/baffle-planner-limitation-in-creating-multiple-baffles-simultaneously/40666/1 "2024-12-12T21:17:24Z")

</div>

Hi everyone,

I’m experiencing an issue while trying to create two baffles on the same model. Unfortunately, whenever I add a second baffle, it seems to overwrite or delete the first one, as shown in the attached image.

Could anyone please help me figure out how to resolve this problem? I suspect this might be a common issue, so any guidance would be greatly appreciated.

Thank you in advance!  
John

 ![pic](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/8/38f48912ec2951fcf77ac94a023d54481143fc88.png)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [December 13, 2024, 12:39am UTC](https://discourse.slicer.org/t/baffle-planner-limitation-in-creating-multiple-baffles-simultaneously/40666/2 "2024-12-13T00:39:59Z")

</div>

You can have any number of baffle surface models. Tpu can add a new one by right-clicking on the baffle model selector and choose to create new.

---

<div class="post-metadata">

**Author:** ![JohnWick](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/johnwick/32/80475_2.png) [@JohnWick](https://discourse.slicer.org/u/JohnWick)\
**Post date:** [December 13, 2024, 1:49pm UTC](https://discourse.slicer.org/t/baffle-planner-limitation-in-creating-multiple-baffles-simultaneously/40666/3 "2024-12-13T13:49:35Z")

</div>

Dear Andras,

Thank you for your prompt response. Unfortunately, it’s still not working. I started from scratch and followed the steps to create a new baffle from the other closed curve. While it does create a new baffle, it deletes the previous one (Create new model was selected). That’s why I’m reaching out for help. I’ve attached a screenshot that shows the two closed curves, but only one baffle is crated.

Best regards,  
John

 ![pic2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/3/d3286d090c0ce0b5c73d699af1b7154b7075f983.png)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [December 13, 2024, 5:23pm UTC](https://discourse.slicer.org/t/baffle-planner-limitation-in-creating-multiple-baffles-simultaneously/40666/4 "2024-12-13T17:23:05Z")

</div>

Thank you, I see now. This was an unnecessary limitation, I’ve fixed it now. You can either make [this change](https://github.com/SlicerHeart/SlicerHeart/commit/7b4e534fd1ee1a6a57e5daa6bef9ca2a27c99bb8) in the .py script on your computer now, or update the SlicerHeart extension tomorrow.

---

<div class="post-metadata">

**Author:** ![JohnWick](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/johnwick/32/80475_2.png) [@JohnWick](https://discourse.slicer.org/u/JohnWick)\
**Post date:** [December 15, 2024, 7:15pm UTC](https://discourse.slicer.org/t/baffle-planner-limitation-in-creating-multiple-baffles-simultaneously/40666/5 "2024-12-15T19:15:28Z")

</div>

Thank you, Andras! It’s working smoothly now.
