# Is there a way to build a macro/script out of segment editor steps?

**URL:** <https://discourse.slicer.org/t/is-there-a-way-to-build-a-macro-script-out-of-segment-editor-steps/4170>\
**Category:** Feature requests\
**Created:** [September 22, 2018, 3:56pm UTC](https://discourse.slicer.org/t/is-there-a-way-to-build-a-macro-script-out-of-segment-editor-steps/4170 "2018-09-22T15:56:11Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [September 24, 2018, 8:53pm UTC](https://discourse.slicer.org/t/is-there-a-way-to-build-a-macro-script-out-of-segment-editor-steps/4170/5 "2018-09-24T20:53:58Z")

</div>

Maybe we can come up with some simple example use cases and see what a solution would look like. I realize writing code can be a big step for some people, but it can be really efficient and flexible for things that would be really hard to express in a GUI (just as the opposite can sometimes be true).

I’m thinking we could have a much more entry-level python scripting tutorial with some handy recipes for automating common operations. Perhaps using the new Jupyter infrastructure.

---

_[View the full topic](https://discourse.slicer.org/t/is-there-a-way-to-build-a-macro-script-out-of-segment-editor-steps/4170)._
