# Switch to Editor module by command line

**URL:** <https://discourse.slicer.org/t/switch-to-editor-module-by-command-line/8492>\
**Category:** Support\
**Created:** [September 19, 2019, 3:22am UTC](https://discourse.slicer.org/t/switch-to-editor-module-by-command-line/8492 "2019-09-19T03:22:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cogitas3d](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cogitas3d/32/4778_2.png) [@cogitas3d](https://discourse.slicer.org/u/cogitas3d)\
**Post date:** [September 19, 2019, 3:22am UTC](https://discourse.slicer.org/t/switch-to-editor-module-by-command-line/8492/1 "2019-09-19T03:22:21Z")

</div>

Hey there!

I would like to know if its possible open Slicer directly in “Editor” module.

More than this, if its possible open in ThresholdEffect, settinf the dicom file before.

Usually I use:

> ./Slicer “/tmp/tmpz\_9y59ib/0/0001.dcm”

This open the DICOM, but I would like to let all right to see the Hounsfield value.

Is it possible?

Thank you for the attention. A big hug!

---

<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:** [September 19, 2019, 3:38am UTC](https://discourse.slicer.org/t/switch-to-editor-module-by-command-line/8492/2 "2019-09-19T03:38:38Z")

</div>

These examples should help with applying segment editor effects from scripts: [https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#How\_to\_run\_segment\_editor\_effects\_from\_a\_script](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#How_to_run_segment_editor_effects_from_a_script)

You can find general information and tutorials about Python scripting in Slicer here: [https://www.slicer.org/wiki/Documentation/Nightly/Developers/Python\_scripting](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Python_scripting)

---

<div class="post-metadata">

**Author:** ![cogitas3d](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cogitas3d/32/4778_2.png) [@cogitas3d](https://discourse.slicer.org/u/cogitas3d)\
**Post date:** [September 28, 2019, 8:04pm UTC](https://discourse.slicer.org/t/switch-to-editor-module-by-command-line/8492/3 "2019-09-28T20:04:02Z")

</div>

Hi @lassoan!

I solve it asking directly for the user open Slicer by Blender (OrtogOnBlender).

The video shows (in Portuguese) how we solve this: [https://www.youtube.com/watch?v=DdjCrmVfq-Y](https://www.youtube.com/watch?v=DdjCrmVfq-Y)

Thank you very much!

---

<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:** [September 28, 2019, 8:38pm UTC](https://discourse.slicer.org/t/switch-to-editor-module-by-command-line/8492/4 "2019-09-28T20:38:13Z")

</div>

I’ve noticed that you use the Editor module, which is deprecated for about two years and will be removed soon. It is replaced by Segment Editor module. It has much more powerful tools than the old Editor and you can export the segmentation to OBJ file (that can be loaded directly into Blender) by two clicks.

Could you summarize what happens in the video? I could not catch the mean idea without understanding the voice over.
