# How do I add Ultrasonic probe STL into a scene?

**URL:** <https://discourse.slicer.org/t/how-do-i-add-ultrasonic-probe-stl-into-a-scene/15895>\
**Category:** Support\
**Tags:** python\
**Created:** [February 8, 2021, 5:43am UTC](https://discourse.slicer.org/t/how-do-i-add-ultrasonic-probe-stl-into-a-scene/15895 "2021-02-08T05:43:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carl098](https://avatars.discourse-cdn.com/v4/letter/c/8491ac/32.png) [@Carl098](https://discourse.slicer.org/u/Carl098)\
**Post date:** [February 8, 2021, 5:43am UTC](https://discourse.slicer.org/t/how-do-i-add-ultrasonic-probe-stl-into-a-scene/15895/1 "2021-02-08T05:43:47Z")

</div>

Hi, I’m writing a module.  
I’d like to implement a function that will load a probe in the upper right after pressing the Apply button.  
Like this,

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/b/6b78d2427e9c4c3842eddc4d8b6359869b18e084.jpeg)  
How do I write this part of my Python program.  
Thanks!

---

<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:** [February 8, 2021, 5:53am UTC](https://discourse.slicer.org/t/how-do-i-add-ultrasonic-probe-stl-into-a-scene/15895/2 "2021-02-08T05:53:06Z")

</div>

You can use `slicer.util.loadModel()` function. See many examples in the [script repository](https://slicer.util.loadModel). You can find Python scripting tutorials and documentation [here](https://slicer.readthedocs.io/en/latest/developer_guide/api.html#tutorials).

---

<div class="post-metadata">

**Author:** ![Carl098](https://avatars.discourse-cdn.com/v4/letter/c/8491ac/32.png) [@Carl098](https://discourse.slicer.org/u/Carl098)\
**Post date:** [February 8, 2021, 8:06am UTC](https://discourse.slicer.org/t/how-do-i-add-ultrasonic-probe-stl-into-a-scene/15895/3 "2021-02-08T08:06:31Z")

</div>

Thank you very much.  
How can I add interaction to the model so that I can resize and position it.

---

<div class="post-metadata">

**Author:** ![ungi](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ungi/32/78573_2.png) [@ungi](https://discourse.slicer.org/u/ungi)\
**Post date:** [February 8, 2021, 10:34pm UTC](https://discourse.slicer.org/t/how-do-i-add-ultrasonic-probe-stl-into-a-scene/15895/4 "2021-02-08T22:34:53Z")

</div>

You can create a transform node in the Transforms module, and use that to transform (rotate, shift, etc.) any model, including your ultrasound model. I’m not sure what exactly you are trying to achieve, but maybe some of these tutorial will help too: [User tutorial | SlicerIGT](http://www.slicerigt.org/wp/user-tutorial/)
