Switch to Editor module by command line

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!

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

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

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

Thank you very much!

1 Like

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.