# Development

**URL:** https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=13

[Latest](https://discourse.slicer.org/latest.md) · [Categories](https://discourse.slicer.org/categories.md) · [Tags](https://discourse.slicer.org/tags.md)

**Page:** 14

---

## [Create new study case or patient](https://discourse.slicer.org/t/create-new-study-case-or-patient/39922)

<div class="topic-metadata">

**Author:** [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)\
**Replies:** 3\
**Last updated:** [October 30, 2024, 9:41am UTC](https://discourse.slicer.org/t/create-new-study-case-or-patient/39922 "2024-10-30T09:41:37Z")

</div>

Hi to everyone, a very quick question: Does anyone how to put the name (for example P40\_val) to the patient symbol using python? It also works to me change the notebook icon name using python. Thanks!

---

## [Is there a way to change the view of the slicer](https://discourse.slicer.org/t/is-there-a-way-to-change-the-view-of-the-slicer/39907)

<div class="topic-metadata">

**Author:** [@maniron](https://discourse.slicer.org/u/maniron)\
**Replies:** 1\
**Last updated:** [October 29, 2024, 4:32pm UTC](https://discourse.slicer.org/t/is-there-a-way-to-change-the-view-of-the-slicer/39907 "2024-10-29T16:32:15Z")

</div>

I am trying to develop an application and the requirement is that I want to show two volumes side by side , kindly let me know is it possible. And incase its possible kindly provide an example for that

---

## [Error when changing segment name from Python](https://discourse.slicer.org/t/error-when-changing-segment-name-from-python/39831)

<div class="topic-metadata">

**Author:** [@idris\_deniz](https://discourse.slicer.org/u/idris_deniz)\
**Replies:** 1\
**Last updated:** [October 28, 2024, 9:19am UTC](https://discourse.slicer.org/t/error-when-changing-segment-name-from-python/39831 "2024-10-28T09:19:24Z")

</div>

Hello 3D Slicer community, I want to change (rename) segment names while using 3D Slicer. However, whenever I try to do this, I keep encountering errors or the segment names are not changing successfully. This has becom…

---

## [Guidance on Creating a Simplified Python-Based Version of 3D Slicer with Custom Modules](https://discourse.slicer.org/t/guidance-on-creating-a-simplified-python-based-version-of-3d-slicer-with-custom-modules/39853)

<div class="topic-metadata">

**Author:** [@nih4t](https://discourse.slicer.org/u/nih4t)\
**Replies:** 2\
**Last updated:** [October 25, 2024, 12:41pm UTC](https://discourse.slicer.org/t/guidance-on-creating-a-simplified-python-based-version-of-3d-slicer-with-custom-modules/39853 "2024-10-25T12:41:41Z")

</div>

Hello everyone, I’ve successfully built 3D Slicer on my computer, and now I am looking to create a highly simplified version of the application. My goal is to remove about 90% of the existing functionality and focus on …

---

## [ExtensionIndex Publish Waiting Time](https://discourse.slicer.org/t/extensionindex-publish-waiting-time/39829)

<div class="topic-metadata">

**Author:** [@rasakereh](https://discourse.slicer.org/u/rasakereh)\
**Replies:** 0\
**Last updated:** [October 24, 2024, 2:58am UTC](https://discourse.slicer.org/t/extensionindex-publish-waiting-time/39829 "2024-10-24T02:58:36Z")

</div>

Hi, thank you for the amazing software package. I was curious about the approx waiting time for a submitted plugin PR to ExtensionIndex to be considered and merged to the relevant branch?

---

## [How to observe save button event](https://discourse.slicer.org/t/how-to-observe-save-button-event/39498)

<div class="topic-metadata">

**Author:** [@Cavers\_Chen](https://discourse.slicer.org/u/Cavers_Chen)\
**Replies:** 3\
**Last updated:** [October 23, 2024, 7:22pm UTC](https://discourse.slicer.org/t/how-to-observe-save-button-event/39498 "2024-10-23T19:22:17Z")

</div>

Hi! I am writing a Python script and encountered a problem recently. I want to save a specific component’s data through MRMLTextnode. However, I need to update and write them into the MRMLTextnode before users open the …

---

## [Is it possible to implement segment editor in c++](https://discourse.slicer.org/t/is-it-possible-to-implement-segment-editor-in-c/39808)

<div class="topic-metadata">

**Author:** [@bryanChau](https://discourse.slicer.org/u/bryanChau)\
**Replies:** 2\
**Last updated:** [October 23, 2024, 5:33am UTC](https://discourse.slicer.org/t/is-it-possible-to-implement-segment-editor-in-c/39808 "2024-10-23T05:33:01Z")

</div>

I noticed that the segment editor module is under the python. I was wondering if I could integrated segment editor module into my c++ qt app. Cuz running AI inference under python is much slower when it compared c++

---

## [Fail to create OpenIGTLink server socket on the same port immediately after another server has just stopped](https://discourse.slicer.org/t/fail-to-create-openigtlink-server-socket-on-the-same-port-immediately-after-another-server-has-just-stopped/39778)

<div class="topic-metadata">

**Author:** [@Filippo\_Parronchi](https://discourse.slicer.org/u/Filippo_Parronchi)\
**Replies:** 1\
**Last updated:** [October 21, 2024, 8:16pm UTC](https://discourse.slicer.org/t/fail-to-create-openigtlink-server-socket-on-the-same-port-immediately-after-another-server-has-just-stopped/39778 "2024-10-21T20:16:48Z")

</div>

Hello! I am establishing a connection between 3Dslicer (installed on my server) and Unity to render my volumes on an AR headset using the Open IGTLink communication protocol. My Python script is executed on the server vi…

---

## [Does the slicer have the ability to generate multi 3D volumes within the 3D slicer and operate it under specific limitations?](https://discourse.slicer.org/t/does-the-slicer-have-the-ability-to-generate-multi-3d-volumes-within-the-3d-slicer-and-operate-it-under-specific-limitations/39756)

<div class="topic-metadata">

**Author:** [@Ming\_Lei](https://discourse.slicer.org/u/Ming_Lei)\
**Replies:** 1\
**Last updated:** [October 18, 2024, 6:23pm UTC](https://discourse.slicer.org/t/does-the-slicer-have-the-ability-to-generate-multi-3d-volumes-within-the-3d-slicer-and-operate-it-under-specific-limitations/39756 "2024-10-18T18:23:39Z")

</div>

I’m working on an extension that requests that numerous 3D volumes be loaded or created and then moved toward MRI and CT volumes according to particular regulations. Because I need to record the transformation results in…

---

## [Using Webserver DicomWeb interface with OHIF (CORS enabled)](https://discourse.slicer.org/t/using-webserver-dicomweb-interface-with-ohif-cors-enabled/39736)

<div class="topic-metadata">

**Author:** [@Kynetyk](https://discourse.slicer.org/u/Kynetyk)\
**Replies:** 4\
**Last updated:** [October 17, 2024, 4:31pm UTC](https://discourse.slicer.org/t/using-webserver-dicomweb-interface-with-ohif-cors-enabled/39736 "2024-10-17T16:31:05Z")

</div>

Hello! I just found out the WebServer extension in Slicer and discovered that it provided a DicomWeb interface to the dicom database. I would like to use it with OHIF (3.8.3, running locally for now), without the need …

---

## [3D model on cellphone ](https://discourse.slicer.org/t/3d-model-on-cellphone/36642)

<div class="topic-metadata">

**Author:** [@BaptisteSVD](https://discourse.slicer.org/u/BaptisteSVD)\
**Replies:** 4\
**Last updated:** [October 17, 2024, 7:53am UTC](https://discourse.slicer.org/t/3d-model-on-cellphone/36642 "2024-10-17T07:53:48Z")

</div>

Hi, Is there a way to visualize the 3D reconstruction from 3D slicer on a cellphone ? Thank you!

---

## [Centerline projection after registration](https://discourse.slicer.org/t/centerline-projection-after-registration/39740)

<div class="topic-metadata">

**Author:** [@fqzhice](https://discourse.slicer.org/u/fqzhice)\
**Replies:** 0\
**Last updated:** [October 17, 2024, 5:18am UTC](https://discourse.slicer.org/t/centerline-projection-after-registration/39740 "2024-10-17T05:18:22Z")

</div>

I extract vessel centerline by vmtk with type vtkMRMLModelNode. Then i want get ijk coord for centerline projection after rigistration. line = \[\] #line projection centerlineNode = slicer.util.getNode('Centerlinemodel'…

---

## [Is a return statement missing in the parameter node wrapper?](https://discourse.slicer.org/t/is-a-return-statement-missing-in-the-parameter-node-wrapper/39724)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 1\
**Last updated:** [October 16, 2024, 3:51pm UTC](https://discourse.slicer.org/t/is-a-return-statement-missing-in-the-parameter-node-wrapper/39724 "2024-10-16T15:51:53Z")

</div>

In python modules created using the Extension wizard, \_parameterNodeGuiTag is always None on inspection. I’m wondering if this line should return a value. Thanks for developers’ opinion.

---

## [How to use ROKAE robot with Python 3.8 library in Slicer?](https://discourse.slicer.org/t/how-to-use-rokae-robot-with-python-3-8-library-in-slicer/39606)

<div class="topic-metadata">

**Author:** [@ningw-git](https://discourse.slicer.org/u/ningw-git)\
**Replies:** 3\
**Last updated:** [October 15, 2024, 11:40pm UTC](https://discourse.slicer.org/t/how-to-use-rokae-robot-with-python-3-8-library-in-slicer/39606 "2024-10-15T23:40:44Z")

</div>

Hello, does slicer have a version that uses python3.8? I’m using a ROKAE robot recently, and they provided a program and library file based on python3.8 (similar to: robot.cp38-win\_amd64.pyd). I want to use this robot in…

---

## [What happens encountering \`transitional vertebrae\` when segmenting the spine in \`TotalSegmentator\`?](https://discourse.slicer.org/t/what-happens-encountering-transitional-vertebrae-when-segmenting-the-spine-in-totalsegmentator/36824)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 5\
**Last updated:** [October 14, 2024, 12:35pm UTC](https://discourse.slicer.org/t/what-happens-encountering-transitional-vertebrae-when-segmenting-the-spine-in-totalsegmentator/36824 "2024-10-14T12:35:53Z")

</div>

What happens when encountering transitional vertebrae when segmenting the spine in TotalSegmentator? From vert519 How to handle this situation? Who has good advice?

---

## [Non-manifold of vtk delaunay](https://discourse.slicer.org/t/non-manifold-of-vtk-delaunay/39682)

<div class="topic-metadata">

**Author:** [@Sofia\_Gonzalez](https://discourse.slicer.org/u/Sofia_Gonzalez)\
**Replies:** 1\
**Last updated:** [October 14, 2024, 9:12am UTC](https://discourse.slicer.org/t/non-manifold-of-vtk-delaunay/39682 "2024-10-14T09:12:21Z")

</div>

Hello everyone, I’m trying to calculate the diameter of a carotid making planes perpendicular to the flow of the blood, and I want to make that planes and then calculate the diameter, and it works, but in some points it …

---

## [ProcessEvents crash when refresh UI](https://discourse.slicer.org/t/processevents-crash-when-refresh-ui/39652)

<div class="topic-metadata">

**Author:** [@fqzhice](https://discourse.slicer.org/u/fqzhice)\
**Replies:** 3\
**Last updated:** [October 12, 2024, 8:41am UTC](https://discourse.slicer.org/t/processevents-crash-when-refresh-ui/39652 "2024-10-12T08:41:25Z")

</div>

I capture real time video in thread , process image in slot fuction and try to force update result node in threeDViewWidget by qSlicerApplication::application()-\>processEvents() slicer crash when run after several ti…

---

## [Lung CT Segmenter Mac pip error](https://discourse.slicer.org/t/lung-ct-segmenter-mac-pip-error/39483)

<div class="topic-metadata">

**Author:** [@alexjin](https://discourse.slicer.org/u/alexjin)\
**Replies:** 2\
**Last updated:** [October 11, 2024, 1:39pm UTC](https://discourse.slicer.org/t/lung-ct-segmenter-mac-pip-error/39483 "2024-10-11T13:39:04Z")

</div>

Hi, when I use the Lung CT Segmenter extension, I get the following error: Failed to compute results: Command '\['/Applications/Slicer.app/Contents/bin/../bin/PythonSlicer', '-m', 'pip', 'install', 'https://github.com/Jo…

---

## [Hiding segments with hot key](https://discourse.slicer.org/t/hiding-segments-with-hot-key/38040)

<div class="topic-metadata">

**Author:** [@gazeofthespark](https://discourse.slicer.org/u/gazeofthespark)\
**Replies:** 9\
**Last updated:** [October 10, 2024, 10:09pm UTC](https://discourse.slicer.org/t/hiding-segments-with-hot-key/38040 "2024-10-10T22:09:29Z")

</div>

I need to “hide” all of my segmentations so that I can see only the volume underneath. I would like to map this to a keyboard shortcut so that I can toggle it on and off swiftly. So far my attempts have not worked: def…

---

## [Unable to Send Volume via OpenIGTLink in Python Script](https://discourse.slicer.org/t/unable-to-send-volume-via-openigtlink-in-python-script/39632)

<div class="topic-metadata">

**Author:** [@Vincenzo\_Yuto\_Civale](https://discourse.slicer.org/u/Vincenzo_Yuto_Civale)\
**Replies:** 1\
**Last updated:** [October 10, 2024, 10:02pm UTC](https://discourse.slicer.org/t/unable-to-send-volume-via-openigtlink-in-python-script/39632 "2024-10-10T22:02:20Z")

</div>

I’m trying to send an outgoing volume with OpenIGTLink in a script Python. The volume node is successfully put in OutGoing of OpenIGTLinkIF Node, but the client doesn’t receive it. success = connectionNode.RegisterOutg…

---

## [vtkITKArchetypeImageSeriesScalarReader:: GetRasToIjkMatrix Same DicomFiles but Different result](https://discourse.slicer.org/t/vtkitkarchetypeimageseriesscalarreader-getrastoijkmatrix-same-dicomfiles-but-different-result/39441)

<div class="topic-metadata">

**Author:** [@Hanzhang\_DAI](https://discourse.slicer.org/u/Hanzhang_DAI)\
**Replies:** 4\
**Last updated:** [October 8, 2024, 5:07pm UTC](https://discourse.slicer.org/t/vtkitkarchetypeimageseriesscalarreader-getrastoijkmatrix-same-dicomfiles-but-different-result/39441 "2024-10-08T17:07:45Z")

</div>

My C++ Code ################# vtkSmartPointer volumeReader = vtkSmartPointer::New(); volumeReader-\>SetArchetype(sortedFiles-\>GetValue(0).c\_str()); for (int i = 0; i \< sortedFiles-\>GetNumberOfValues(); i++) { volum…

---

## [How to apply RescaleIntensityImageFilter automatically by a python script](https://discourse.slicer.org/t/how-to-apply-rescaleintensityimagefilter-automatically-by-a-python-script/39575)

<div class="topic-metadata">

**Author:** [@oscampo](https://discourse.slicer.org/u/oscampo)\
**Replies:** 1\
**Last updated:** [October 7, 2024, 10:11pm UTC](https://discourse.slicer.org/t/how-to-apply-rescaleintensityimagefilter-automatically-by-a-python-script/39575 "2024-10-07T22:11:38Z")

</div>

Hi. I’m developing a very simple script to load MR and automatically rescale Intensity range for furter analisys. I need access to the filter module and I’m using: slicer.modules.simplefilters but how I can access to …

---

## [slicer.util.MRMLNodeNotFoundException Error](https://discourse.slicer.org/t/slicer-util-mrmlnodenotfoundexception-error/39532)

<div class="topic-metadata">

**Author:** [@BenAsh](https://discourse.slicer.org/u/BenAsh)\
**Replies:** 1\
**Last updated:** [October 3, 2024, 9:34pm UTC](https://discourse.slicer.org/t/slicer-util-mrmlnodenotfoundexception-error/39532 "2024-10-03T21:34:03Z")

</div>

Hi there. So I’ve been trying to run a one of the simple filters on my scans, that one being the “RichardsonLucyDeconvolutionImageFilter”. However, whenever I attempt to run this (or any other Simple Filter) I am hit wit…

---

## [How to Include Python Libraries Offline (without pip) in a Custom Slicer Application?](https://discourse.slicer.org/t/how-to-include-python-libraries-offline-without-pip-in-a-custom-slicer-application/39484)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 1\
**Last updated:** [October 2, 2024, 12:40pm UTC](https://discourse.slicer.org/t/how-to-include-python-libraries-offline-without-pip-in-a-custom-slicer-application/39484 "2024-10-02T12:40:54Z")

</div>

Hi all, I’m currently developing a custom application using Slicer. At the moment, I’m installing the necessary Python libraries via pip (using slicer.util.pip\_install('library')). However, I’m looking for a way to inc…

---

## [Combine two surface meshes and stitch edges](https://discourse.slicer.org/t/combine-two-surface-meshes-and-stitch-edges/39467)

<div class="topic-metadata">

**Author:** [@darabi](https://discourse.slicer.org/u/darabi)\
**Replies:** 2\
**Last updated:** [October 2, 2024, 2:40am UTC](https://discourse.slicer.org/t/combine-two-surface-meshes-and-stitch-edges/39467 "2024-10-02T02:40:15Z")

</div>

Hello, I have two surfaces which are generated with a 3D scanner and registered using Fiducial Registration. Irrelevant parts of the scan are removed after registration by cutting along a manually placed curve on the su…

---

## [Is there any way to disable right-click context menu between Module Panel and Views?](https://discourse.slicer.org/t/is-there-any-way-to-disable-right-click-context-menu-between-module-panel-and-views/39440)

<div class="topic-metadata">

**Author:** [@apparrilla](https://discourse.slicer.org/u/apparrilla)\
**Replies:** 2\
**Last updated:** [October 1, 2024, 9:19pm UTC](https://discourse.slicer.org/t/is-there-any-way-to-disable-right-click-context-menu-between-module-panel-and-views/39440 "2024-10-01T21:19:34Z")

</div>

I want to disable this mouse right-click qAction: I´ve tried: pluginHandler = slicer.qSlicerSubjectHierarchyPluginHandler.instance() pluginLogic = pluginHandler.pluginLogic() pluginLogic.allowedViewContextMenuAct…

---

## [Confusion in branch naming for publishing my extension](https://discourse.slicer.org/t/confusion-in-branch-naming-for-publishing-my-extension/39462)

<div class="topic-metadata">

**Author:** [@rasakereh](https://discourse.slicer.org/u/rasakereh)\
**Replies:** 6\
**Last updated:** [October 1, 2024, 3:26pm UTC](https://discourse.slicer.org/t/confusion-in-branch-naming-for-publishing-my-extension/39462 "2024-10-01T15:26:40Z")

</div>

I want to publish my scripted extension to the extension manager but after going through different doc pages, I am still confused about branch names. What I want to do: publish my extension on both stable version and pr…

---

## [Extension Wizard Cannot Load module on Mac](https://discourse.slicer.org/t/extension-wizard-cannot-load-module-on-mac/39471)

<div class="topic-metadata">

**Author:** [@alexjin](https://discourse.slicer.org/u/alexjin)\
**Replies:** 4\
**Last updated:** [October 1, 2024, 1:17pm UTC](https://discourse.slicer.org/t/extension-wizard-cannot-load-module-on-mac/39471 "2024-10-01T13:17:16Z")

</div>

Hi, I encountered a problem where if these lines are included in the code, the module cannot be loaded through extension wizard: # Check if binary labelmap is valid if binary\_labelmap.GetNumberOf…

---

## [How to make module modification take effect without restarting the application?](https://discourse.slicer.org/t/how-to-make-module-modification-take-effect-without-restarting-the-application/38420)

<div class="topic-metadata">

**Author:** [@dingdanpeng](https://discourse.slicer.org/u/dingdanpeng)\
**Replies:** 6\
**Last updated:** [September 30, 2024, 9:43pm UTC](https://discourse.slicer.org/t/how-to-make-module-modification-take-effect-without-restarting-the-application/38420 "2024-09-30T21:43:22Z")

</div>

Operating system:Win11 Slicer version:5.7.0 Every time I modify the plug code, I need to restart the software for it to take effect. Pressing reload does not work. This is because only restart Slicer can take effect or…

---

## [Automate thresholding w. unknown values - Max Entropy (Python)](https://discourse.slicer.org/t/automate-thresholding-w-unknown-values-max-entropy-python/39443)

<div class="topic-metadata">

**Author:** [@mhal0018](https://discourse.slicer.org/u/mhal0018)\
**Replies:** 1\
**Last updated:** [September 30, 2024, 2:05pm UTC](https://discourse.slicer.org/t/automate-thresholding-w-unknown-values-max-entropy-python/39443 "2024-09-30T14:05:36Z")

</div>

Hey there. I’m currently building a script to segment aneurysms and surrounding blood vessels from CT scans. I have successfully created a modular python script that completes the entire process from importing PNGs, appl…

[Previous page](https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=12)

[Next page](https://discourse.slicer.org/c/dev/5.md?no_subcategories=false&page=14)
