# Breach Warning ScriptRepository

**URL:** <https://discourse.slicer.org/t/breach-warning-scriptrepository/16767>\
**Category:** Support\
**Created:** [March 25, 2021, 7:37pm UTC](https://discourse.slicer.org/t/breach-warning-scriptrepository/16767 "2021-03-25T19:37:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raj\_Kumar\_Ranabhat](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/raj_kumar_ranabhat/32/9857_2.png) [@Raj\_Kumar\_Ranabhat](https://discourse.slicer.org/u/Raj_Kumar_Ranabhat)\
**Post date:** [March 25, 2021, 7:37pm UTC](https://discourse.slicer.org/t/breach-warning-scriptrepository/16767/1 "2021-03-25T19:37:50Z")

</div>

Hi,

I am trying to use Breach Warning function from IGT extension in our project which seems to be very useful. Are there any resources / Python scripting for developer regarding this Breach Warning Module ? I am using Slicer 4.11.0

Thank you !!

---

<div class="post-metadata">

**Author:** ![Raj\_Kumar\_Ranabhat](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/raj_kumar_ranabhat/32/9857_2.png) [@Raj\_Kumar\_Ranabhat](https://discourse.slicer.org/u/Raj_Kumar_Ranabhat)\
**Post date:** [March 29, 2021, 3:31pm UTC](https://discourse.slicer.org/t/breach-warning-scriptrepository/16767/2 "2021-03-29T15:31:59Z")

</div>

Is there any short script for parameter set, inputs, and parameters selection. It would be a great help for us.

thank you !!

---

<div class="post-metadata">

**Author:** ![Raj\_Kumar\_Ranabhat](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/raj_kumar_ranabhat/32/9857_2.png) [@Raj\_Kumar\_Ranabhat](https://discourse.slicer.org/u/Raj_Kumar_Ranabhat)\
**Post date:** [March 31, 2021, 5:29pm UTC](https://discourse.slicer.org/t/breach-warning-scriptrepository/16767/3 "2021-03-31T17:29:03Z")

</div>

@lassoan@cpinter : I hope you can help me out with this topic.

---

<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:** [April 3, 2021, 1:54am UTC](https://discourse.slicer.org/t/breach-warning-scriptrepository/16767/4 "2021-04-03T01:54:24Z")

</div>

The simplest is to set up the breach warning using the GUI and save the scene. If you reload the scene then everything will work the same way when you saved the scene.

If you want to set up things from scratch in Python then all you need to do is to create add a [vtkMRMLBreachWarningNode](https://github.com/SlicerIGT/SlicerIGT/blob/master/BreachWarning/MRML/vtkMRMLBreachWarningNode.h) to the scene and set its inputs and outputs. You can find a few convenience functions for these in the [BreachWarning module logic](https://github.com/SlicerIGT/SlicerIGT/blob/master/BreachWarning/Logic/vtkSlicerBreachWarningLogic.h).
