# Development

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

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

**Page:** 74

---

## [Updating persistent mode](https://discourse.slicer.org/t/updating-persistent-mode/18444)

<div class="topic-metadata">

**Author:** [@smrolfe](https://discourse.slicer.org/u/smrolfe)\
**Replies:** 1\
**Last updated:** [June 30, 2021, 10:56pm UTC](https://discourse.slicer.org/t/updating-persistent-mode/18444 "2021-06-30T22:56:01Z")

</div>

I’m currently working on a Markups update and would like to get some feedback. One change planned is to rename the “Persistent” mode something more intuitive. A couple options suggested include a checkbox to enable “Pla…

---

## [SurfaceCut : error on edit points](https://discourse.slicer.org/t/surfacecut-error-on-edit-points/18430)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 1\
**Last updated:** [June 30, 2021, 2:47pm UTC](https://discourse.slicer.org/t/surfacecut-error-on-edit-points/18430 "2021-06-30T14:47:35Z")

</div>

Sorry to bother you again. Editing placed points in SurfaceCut generates this error : Traceback (most recent call last): File “/home/user/bin/Slicer\_Ext/SlicerSegmentEditorExtraEffects/SegmentEditorSurfaceCut/Segment…

---

## [Slicer module not found when using GetSubjectHierarchyNode](https://discourse.slicer.org/t/slicer-module-not-found-when-using-getsubjecthierarchynode/18399)

<div class="topic-metadata">

**Author:** [@nchaves](https://discourse.slicer.org/u/nchaves)\
**Replies:** 3\
**Last updated:** [June 30, 2021, 12:22pm UTC](https://discourse.slicer.org/t/slicer-module-not-found-when-using-getsubjecthierarchynode/18399 "2021-06-30T12:22:52Z")

</div>

Hi, I was trying to get all the children of a folder in the subject hierarchy node using the convenience method slicer.mrmlScene.GetSubjectHierarchyNode. It didn’t work and I got the error: NameError: name ‘slicer’ is…

---

## [OpenIGTLink event in case of a new incoming MRML node](https://discourse.slicer.org/t/openigtlink-event-in-case-of-a-new-incoming-mrml-node/18397)

<div class="topic-metadata">

**Author:** [@atracsys-sbt](https://discourse.slicer.org/u/atracsys-sbt)\
**Replies:** 3\
**Last updated:** [June 30, 2021, 1:05am UTC](https://discourse.slicer.org/t/openigtlink-event-in-case-of-a-new-incoming-mrml-node/18397 "2021-06-30T01:05:03Z")

</div>

Hi, I’m coding a scripted module that handles an OpenIGTLink connection to a tracker and I experience some delay between the call to start the connection and when the incoming data is actually streamed. I have tried us…

---

## [Running additional thread(s) for Tensorflow predictions within Slicer](https://discourse.slicer.org/t/running-additional-thread-s-for-tensorflow-predictions-within-slicer/17804)

<div class="topic-metadata">

**Author:** [@zacbaum](https://discourse.slicer.org/u/zacbaum)\
**Replies:** 5\
**Last updated:** [June 29, 2021, 8:59pm UTC](https://discourse.slicer.org/t/running-additional-thread-s-for-tensorflow-predictions-within-slicer/17804 "2021-06-29T20:59:14Z")

</div>

Hello, I am using Slicer to perform real-time (and also offline - but that is less affected by this issue) AI-based segmentation of tracked ultrasound images, while concurrently recording the images using Sequences; and…

---

## [How to build newly added models which are written in C++ and python](https://discourse.slicer.org/t/how-to-build-newly-added-models-which-are-written-in-c-and-python/18160)

<div class="topic-metadata">

**Author:** [@Mahesh\_Timmanagoudar](https://discourse.slicer.org/u/Mahesh_Timmanagoudar)\
**Replies:** 5\
**Last updated:** [June 28, 2021, 9:38pm UTC](https://discourse.slicer.org/t/how-to-build-newly-added-models-which-are-written-in-c-and-python/18160 "2021-06-28T21:38:30Z")

</div>

Hello There are some custom models we are able to build it using old version of slicer 4.05, VS 2013 and QT 4.X. Now I wanted to upgrade the slicer into latest version that is 4.13 and along with custom models. While I…

---

## [Dark lighting/shadow issue when rotating the model](https://discourse.slicer.org/t/dark-lighting-shadow-issue-when-rotating-the-model/18351)

<div class="topic-metadata">

**Author:** [@seanchoi0519](https://discourse.slicer.org/u/seanchoi0519)\
**Replies:** 3\
**Last updated:** [June 28, 2021, 3:57pm UTC](https://discourse.slicer.org/t/dark-lighting-shadow-issue-when-rotating-the-model/18351 "2021-06-28T15:57:09Z")

</div>

Is there any way to resolve the darkness/shadow when I rotate this model output I obtained from ALPACA?

---

## [AttributeError: qMRMLNodeComboBox has no attribute named 'setNoneEnabled'](https://discourse.slicer.org/t/attributeerror-qmrmlnodecombobox-has-no-attribute-named-setnoneenabled/18365)

<div class="topic-metadata">

**Author:** [@Yihao\_Liu](https://discourse.slicer.org/u/Yihao_Liu)\
**Replies:** 4\
**Last updated:** [June 28, 2021, 3:27pm UTC](https://discourse.slicer.org/t/attributeerror-qmrmlnodecombobox-has-no-attribute-named-setnoneenabled/18365 "2021-06-28T15:27:30Z")

</div>

Operating system: Ubuntu 20.04 Slicer version: 4.11.20210226 Expected behavior: setNoneEnabled() to disable qMRMLNodeComboBox “none” option Actual behavior: reported error My code: … self.ui.fid1MRMLNodeComboBox.no…

---

## [Change the font size of the title of the scalar bar in SlicerRT Isodose module](https://discourse.slicer.org/t/change-the-font-size-of-the-title-of-the-scalar-bar-in-slicerrt-isodose-module/18278)

<div class="topic-metadata">

**Author:** [@Mik](https://discourse.slicer.org/u/Mik)\
**Replies:** 5\
**Last updated:** [June 28, 2021, 2:10pm UTC](https://discourse.slicer.org/t/change-the-font-size-of-the-title-of-the-scalar-bar-in-slicerrt-isodose-module/18278 "2021-06-28T14:10:29Z")

</div>

Isodose module in SlicerRT uses vtkScalarBar to show isodose palette and values. I have tried to change the title’s font size of the scalar bar actor, but it didn’t change anything. For example // Update all scal…

---

## [Improving qMRMLVolumeWidget range bounds](https://discourse.slicer.org/t/improving-qmrmlvolumewidget-range-bounds/17821)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Replies:** 10\
**Last updated:** [June 28, 2021, 1:52pm UTC](https://discourse.slicer.org/t/improving-qmrmlvolumewidget-range-bounds/17821 "2021-06-28T13:52:15Z")

</div>

I’m hoping to improve the qMRMLVolumeWidget based on feedback from several users that I know. There is a common complaint about widgets that inherit functionality from qMRMLVolumeWidget, specifically commonly used qMRMLW…

---

## [Crash on selecting point properties after using Surface Cut](https://discourse.slicer.org/t/crash-on-selecting-point-properties-after-using-surface-cut/18234)

<div class="topic-metadata">

**Author:** [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Replies:** 7\
**Last updated:** [June 28, 2021, 9:45am UTC](https://discourse.slicer.org/t/crash-on-selecting-point-properties-after-using-surface-cut/18234 "2021-06-28T09:45:22Z")

</div>

Slicer built at 2946f735c6 with VTK8 on Arch Linux, with lldb version 12.0.0. gcc 11.1.0 is installed. These patches are applied, else it won’t build with this gcc version: diff --git a/Modules/Loadable/Segmentations/L…

---

## [How to exchange data bewteen Slicer instance and Python CLI during runtime](https://discourse.slicer.org/t/how-to-exchange-data-bewteen-slicer-instance-and-python-cli-during-runtime/18357)

<div class="topic-metadata">

**Author:** [@mcfly3001](https://discourse.slicer.org/u/mcfly3001)\
**Replies:** 3\
**Last updated:** [June 27, 2021, 7:21pm UTC](https://discourse.slicer.org/t/how-to-exchange-data-bewteen-slicer-instance-and-python-cli-during-runtime/18357 "2021-06-27T19:21:36Z")

</div>

For my project I need to get the table position of a CT system. To get this information I need to connect via SSH to a server and call a command which will then continously write the table position to the stdout. Connect…

---

## [Combining surface registration and model-to-model distance functionalities](https://discourse.slicer.org/t/combining-surface-registration-and-model-to-model-distance-functionalities/18347)

<div class="topic-metadata">

**Author:** [@seanchoi0519](https://discourse.slicer.org/u/seanchoi0519)\
**Replies:** 7\
**Last updated:** [June 27, 2021, 10:53am UTC](https://discourse.slicer.org/t/combining-surface-registration-and-model-to-model-distance-functionalities/18347 "2021-06-27T10:53:07Z")

</div>

I have an established workflow and I’d like to streamline & combine the functionalities of - ALPACA, model-to-model distance, and shape-population-viewer (in order). For example, if possible, I’d like to take the produc…

---

## [OpenSSL issue when building SlicerCAT in Debug mode](https://discourse.slicer.org/t/openssl-issue-when-building-slicercat-in-debug-mode/17546)

<div class="topic-metadata">

**Author:** [@keri](https://discourse.slicer.org/u/keri)\
**Replies:** 6\
**Last updated:** [June 26, 2021, 10:56am UTC](https://discourse.slicer.org/t/openssl-issue-when-building-slicercat-in-debug-mode/17546 "2021-06-26T10:56:10Z")

</div>

Hi, On Linux (Ubuntu 20.04) when SlicerCAT is built in Debug mode and I try to use wget in a way: \>\>\> import wget \>\>\> url = "https://julialang-s3.julialang.org/bin/linux/x64/1.6/julia-1.6.1-linux-x86\_64.tar.gz" \>\>\> wge…

---

## [How to call segment editor effect node information in slicer main window](https://discourse.slicer.org/t/how-to-call-segment-editor-effect-node-information-in-slicer-main-window/18316)

<div class="topic-metadata">

**Author:** [@qiqi5210](https://discourse.slicer.org/u/qiqi5210)\
**Replies:** 2\
**Last updated:** [June 26, 2021, 9:11am UTC](https://discourse.slicer.org/t/how-to-call-segment-editor-effect-node-information-in-slicer-main-window/18316 "2021-06-26T09:11:21Z")

</div>

Hello, I’d like to write a qdockwidget in qslicermainwindow and make it superimposed with the paneldockwidget as a tab. If I want to put the effect of qmrml segment editor widget in the qdockwidget, how can I operate？

---

## [How to disable the clone button?](https://discourse.slicer.org/t/how-to-disable-the-clone-button/18090)

<div class="topic-metadata">

**Author:** [@OpenSource\_Contri](https://discourse.slicer.org/u/OpenSource_Contri)\
**Replies:** 10\
**Last updated:** [June 25, 2021, 9:11pm UTC](https://discourse.slicer.org/t/how-to-disable-the-clone-button/18090 "2021-06-25T21:11:24Z")

</div>

@simonoxen @lassoan I have explored these options but I wanted to disable clone button. How to go ahead with this?

---

## [How to install new python package in 3dslicer](https://discourse.slicer.org/t/how-to-install-new-python-package-in-3dslicer/18269)

<div class="topic-metadata">

**Author:** [@wujie](https://discourse.slicer.org/u/wujie)\
**Replies:** 1\
**Last updated:** [June 25, 2021, 9:10pm UTC](https://discourse.slicer.org/t/how-to-install-new-python-package-in-3dslicer/18269 "2021-06-25T21:10:24Z")

</div>

how to install new python package in 3dslicer.how to install new python package in 3dslicer

---

## [Node changes MRML ID after saving and loading, which makes value saved in module parameter node invalid](https://discourse.slicer.org/t/node-changes-mrml-id-after-saving-and-loading-which-makes-value-saved-in-module-parameter-node-invalid/18332)

<div class="topic-metadata">

**Author:** [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Replies:** 5\
**Last updated:** [June 24, 2021, 9:36pm UTC](https://discourse.slicer.org/t/node-changes-mrml-id-after-saving-and-loading-which-makes-value-saved-in-module-parameter-node-invalid/18332 "2021-06-24T21:36:19Z")

</div>

In a module I have developed, the user loads a surface model node from a file, and the MRML ID of that model node is saved as a parameter in the parameter node for the model. The user can then control the visibility of t…

---

## [Having all files checked by default at the Save Scene dialog](https://discourse.slicer.org/t/having-all-files-checked-by-default-at-the-save-scene-dialog/18329)

<div class="topic-metadata">

**Author:** [@giovform](https://discourse.slicer.org/u/giovform)\
**Replies:** 3\
**Last updated:** [June 24, 2021, 7:50pm UTC](https://discourse.slicer.org/t/having-all-files-checked-by-default-at-the-save-scene-dialog/18329 "2021-06-24T19:50:41Z")

</div>

Is there a way to set the select files checked by default at the Save Scene dialog? I tried this code bellow, but no sucess: saveDataDialog.children()\[6\].model().setHeaderData(0, qt.Qt.Horizontal, qt.Qt.Checked, qt.Qt.C…

---

## [Slicer build fail](https://discourse.slicer.org/t/slicer-build-fail/18284)

<div class="topic-metadata">

**Author:** [@smallvalthoss](https://discourse.slicer.org/u/smallvalthoss)\
**Replies:** 2\
**Last updated:** [June 23, 2021, 3:42pm UTC](https://discourse.slicer.org/t/slicer-build-fail/18284 "2021-06-23T15:42:52Z")

</div>

I encountered these errors when trying to build. Any help would be appreciated.

---

## [External Beam Planning in SlicerRT Tutorial Dataset](https://discourse.slicer.org/t/external-beam-planning-in-slicerrt-tutorial-dataset/18227)

<div class="topic-metadata">

**Author:** [@edwardwang1](https://discourse.slicer.org/u/edwardwang1)\
**Replies:** 4\
**Last updated:** [June 21, 2021, 6:44pm UTC](https://discourse.slicer.org/t/external-beam-planning-in-slicerrt-tutorial-dataset/18227 "2021-06-21T18:44:28Z")

</div>

Hi all, For a bit of context, I am toying around with the idea of building an extension in Slicer that would use reinforcement learning to determine optimum dose volumes. The state would be the dose volume at a given po…

---

## [Get Qt sender in Python slot](https://discourse.slicer.org/t/get-qt-sender-in-python-slot/18247)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 5\
**Last updated:** [June 21, 2021, 4:06pm UTC](https://discourse.slicer.org/t/get-qt-sender-in-python-slot/18247 "2021-06-21T16:06:38Z")

</div>

Hi all, I have been debugging a strange issue, and maybe someone here can help. When I load a scene in a Slicer custom app, an SH combobox currentItemChanged signal is emitted from an unknown place. There is nothing in…

---

## [How to use Python script to judge whether a node exists or not](https://discourse.slicer.org/t/how-to-use-python-script-to-judge-whether-a-node-exists-or-not/18241)

<div class="topic-metadata">

**Author:** [@qiqi5210](https://discourse.slicer.org/u/qiqi5210)\
**Replies:** 2\
**Last updated:** [June 21, 2021, 1:30pm UTC](https://discourse.slicer.org/t/how-to-use-python-script-to-judge-whether-a-node-exists-or-not/18241 "2021-06-21T13:30:13Z")

</div>

segmentationNode = slicer.mrmlScene.AddNewNodeByClass(“vtkMRMLSegmentationNode”) After creating a node, you don’t want to create a new node. How to judge whether a node has been created

---

## [The Module, OpenCV,does't show on the Module face](https://discourse.slicer.org/t/the-module-opencv-doest-show-on-the-module-face/18237)

<div class="topic-metadata">

**Author:** [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Replies:** 1\
**Last updated:** [June 21, 2021, 4:37am UTC](https://discourse.slicer.org/t/the-module-opencv-doest-show-on-the-module-face/18237 "2021-06-21T04:37:23Z")

</div>

Sys:WIN 64 V 4.1120210226 As is this pic.,I have installed the OpenCV , but when I restart the Slicer , I dont find it on the Module face. I searched all modules,no result.

---

## [How to get 3d heat map model from petct?](https://discourse.slicer.org/t/how-to-get-3d-heat-map-model-from-petct/18235)

<div class="topic-metadata">

**Author:** [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Replies:** 1\
**Last updated:** [June 20, 2021, 9:22pm UTC](https://discourse.slicer.org/t/how-to-get-3d-heat-map-model-from-petct/18235 "2021-06-20T21:22:15Z")

</div>

How to get 3d heat map model from pet-ct?

---

## [Why do some modules do not include Reload&Test ？](https://discourse.slicer.org/t/why-do-some-modules-do-not-include-reload-test/18225)

<div class="topic-metadata">

**Author:** [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Replies:** 1\
**Last updated:** [June 19, 2021, 12:37pm UTC](https://discourse.slicer.org/t/why-do-some-modules-do-not-include-reload-test/18225 "2021-06-19T12:37:46Z")

</div>

Why some modules do not include Reload&Test, as is shown in this picture.

---

## [Assign label to selected parts of a surface model](https://discourse.slicer.org/t/assign-label-to-selected-parts-of-a-surface-model/18210)

<div class="topic-metadata">

**Author:** [@Aep93](https://discourse.slicer.org/u/Aep93)\
**Replies:** 1\
**Last updated:** [June 18, 2021, 8:25pm UTC](https://discourse.slicer.org/t/assign-label-to-selected-parts-of-a-surface-model/18210 "2021-06-18T20:25:00Z")

</div>

Hello all, I have a surface model (.vtk format). I want to choose some of the elements of this model (interactively) and assign a different label to them. How can I do this? Thanks in advance

---

## [Segmentation node color and transparency through script](https://discourse.slicer.org/t/segmentation-node-color-and-transparency-through-script/18190)

<div class="topic-metadata">

**Author:** [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Replies:** 1\
**Last updated:** [June 18, 2021, 7:47pm UTC](https://discourse.slicer.org/t/segmentation-node-color-and-transparency-through-script/18190 "2021-06-18T19:47:45Z")

</div>

How to set segmentation node color and transparency through script ?

---

## [Wrong about the Labels](https://discourse.slicer.org/t/wrong-about-the-labels/18197)

<div class="topic-metadata">

**Author:** [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Replies:** 1\
**Last updated:** [June 18, 2021, 6:58pm UTC](https://discourse.slicer.org/t/wrong-about-the-labels/18197 "2021-06-18T18:58:19Z")

</div>

As is shown in this picture ,‘input volume’ should be 'input model ’ and ‘’output volume should be ‘’output model.The same problem with module Cleaner and Mirror，Bordersout.

---

## [Origin of painted object is modified when the object is saved to dicom and loaded into Slicer](https://discourse.slicer.org/t/origin-of-painted-object-is-modified-when-the-object-is-saved-to-dicom-and-loaded-into-slicer/18186)

<div class="topic-metadata">

**Author:** [@Federico](https://discourse.slicer.org/u/Federico)\
**Replies:** 1\
**Last updated:** [June 17, 2021, 1:26pm UTC](https://discourse.slicer.org/t/origin-of-painted-object-is-modified-when-the-object-is-saved-to-dicom-and-loaded-into-slicer/18186 "2021-06-17T13:26:22Z")

</div>

Hi all, I have the following situation when working with a dataset where a MR has been fused to the base CT scan: In the MR, I paint a segmentation object in the segment editor via the sphere brush and print the origi…

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

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