# Development

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

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

**Page:** 22

---

## [SliceViews - Propagate volume selection is not working?](https://discourse.slicer.org/t/sliceviews-propagate-volume-selection-is-not-working/35494)

<div class="topic-metadata">

**Author:** [@Davide\_Scorza](https://discourse.slicer.org/u/Davide_Scorza)\
**Replies:** 2\
**Last updated:** [April 16, 2024, 7:08am UTC](https://discourse.slicer.org/t/sliceviews-propagate-volume-selection-is-not-working/35494 "2024-04-16T07:08:23Z")

</div>

Dear slicer community, I’ve been used Slicer from quite a while, and I am currently writing a new module which uses some “old” functions I wrote time ago to automate some interaction with 3D Slicer. In particular, I ne…

---

## [New icons for Slicer: styling to include monochromatic designs and optional accent colors](https://discourse.slicer.org/t/new-icons-for-slicer-styling-to-include-monochromatic-designs-and-optional-accent-colors/35409)

<div class="topic-metadata">

**Author:** [@wenples](https://discourse.slicer.org/u/wenples)\
**Replies:** 5\
**Last updated:** [April 15, 2024, 9:40pm UTC](https://discourse.slicer.org/t/new-icons-for-slicer-styling-to-include-monochromatic-designs-and-optional-accent-colors/35409 "2024-04-15T21:40:48Z")

</div>

Hello all, I wanted to confirm next steps for me and also confirm some followup on QSS/other-styling questions. next steps: Change Slicer BG color in Dark Theme to be #000000 and make sure this works with existing i…

---

## [Building Error MSB8066](https://discourse.slicer.org/t/building-error-msb8066/21136)

<div class="topic-metadata">

**Author:** [@siqueirl](https://discourse.slicer.org/u/siqueirl)\
**Replies:** 5\
**Last updated:** [April 15, 2024, 11:03am UTC](https://discourse.slicer.org/t/building-error-msb8066/21136 "2024-04-15T11:03:26Z")

</div>

Hello everyone, I am trying to build slicer, but I am receiving the following error: |Error|MSB8066|Custom build for ‘C:\\D\\S4R\\CMakeFiles\\26b24c13142eddf123c97e3494499225\\Slicer-mkdir.rule;C:\\D\\S4R\\CMakeFiles\\26b24c1314…

---

## [Slicer Build error:MSB8066  in Win10](https://discourse.slicer.org/t/slicer-build-error-msb8066-in-win10/17443)

<div class="topic-metadata">

**Author:** [@gylucy](https://discourse.slicer.org/u/gylucy)\
**Replies:** 13\
**Last updated:** [April 15, 2024, 10:56am UTC](https://discourse.slicer.org/t/slicer-build-error-msb8066-in-win10/17443 "2024-04-15T10:56:48Z")

</div>

Operating system: Win 10 Slicer version: 4.10 Expected behavior:Build slicer successfully Actual behavior:Build error occured the error is: 50\>D:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\MSBuild\\Mi…

---

## [Failed build Slicer in Windows10 with Visual Studio 2017,Qt 5.10.1](https://discourse.slicer.org/t/failed-build-slicer-in-windows10-with-visual-studio-2017-qt-5-10-1/19718)

<div class="topic-metadata">

**Author:** [@kookoo9999](https://discourse.slicer.org/u/kookoo9999)\
**Replies:** 27\
**Last updated:** [April 15, 2024, 10:48am UTC](https://discourse.slicer.org/t/failed-build-slicer-in-windows10-with-visual-studio-2017-qt-5-10-1/19718 "2024-04-15T10:48:14Z")

</div>

I wnat to build Slicer ( 4.11 20200930) on Windows10 but build failed repeatedly. In the past , I tried to build Slicer Source(from git “master” branch) but I saw the CMake configuration error occured.(env : Visual Stud…

---

## [Question on Fill Between Slices algorithm](https://discourse.slicer.org/t/question-on-fill-between-slices-algorithm/34536)

<div class="topic-metadata">

**Author:** [@MJamal](https://discourse.slicer.org/u/MJamal)\
**Replies:** 12\
**Last updated:** [April 13, 2024, 3:42pm UTC](https://discourse.slicer.org/t/question-on-fill-between-slices-algorithm/34536 "2024-04-13T15:42:49Z")

</div>

Hello again, I have a question regarding the “fill between slices” operation. When I perform this operation, I don’t see a smooth surface in the 3D view when clicking “show 3D.” It appears that the preview model has a l…

---

## [Run custom module in virtual environment](https://discourse.slicer.org/t/run-custom-module-in-virtual-environment/35460)

<div class="topic-metadata">

**Author:** [@Franciska](https://discourse.slicer.org/u/Franciska)\
**Replies:** 0\
**Last updated:** [April 12, 2024, 3:05pm UTC](https://discourse.slicer.org/t/run-custom-module-in-virtual-environment/35460 "2024-04-12T15:05:25Z")

</div>

Hi! I would like to create a custom module, just like the BlurImage example. Is it possible to activate a venv in the python script? The venv would be placed in the module’s folder. Thanks!

---

## [Howto \`totalSegment\` vertebrae\_body with python?](https://discourse.slicer.org/t/howto-totalsegment-vertebrae-body-with-python/35454)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 1\
**Last updated:** [April 12, 2024, 9:05am UTC](https://discourse.slicer.org/t/howto-totalsegment-vertebrae-body-with-python/35454 "2024-04-12T09:05:09Z")

</div>

From SlicerTotalSegmentator, I extract a function (see :point\_down:t2:) for segment the vertebrae. \_subset = \['vertebrae\_S1', 'vertebrae\_L5', 'vertebrae\_L4', 'vertebrae\_L3', 'vertebrae\_L2', 'vertebrae\_L1', …

---

## [A error of MRMLCorePython when making code](https://discourse.slicer.org/t/a-error-of-mrmlcorepython-when-making-code/35440)

<div class="topic-metadata">

**Author:** [@czgchd](https://discourse.slicer.org/u/czgchd)\
**Replies:** 2\
**Last updated:** [April 12, 2024, 2:30am UTC](https://discourse.slicer.org/t/a-error-of-mrmlcorepython-when-making-code/35440 "2024-04-12T02:30:08Z")

</div>

cmake version 3.28.4 ubuntu 22.04 3D Slicer when i performed the command : make, i met a error \[ 33%\] Linking CXX shared module …/…/…/bin/MRMLCorePython.so \[ 33%\] Built target MRMLCorePython make\[3\]: \*\*\* \[Makefile…

---

## [Customize error of qMRMLSliceControllerWidget](https://discourse.slicer.org/t/customize-error-of-qmrmlslicecontrollerwidget/35331)

<div class="topic-metadata">

**Author:** [@park](https://discourse.slicer.org/u/park)\
**Replies:** 6\
**Last updated:** [April 12, 2024, 2:00am UTC](https://discourse.slicer.org/t/customize-error-of-qmrmlslicecontrollerwidget/35331 "2024-04-12T02:00:14Z")

</div>

Hi all, I would like to customize of qMRMLSliceControllerWidget My code is like this (there is no error), but it is not work well. Especially, the QLabel is not change and the maximize Button is not hide Can I get a …

---

## [Call surface registration in python script](https://discourse.slicer.org/t/call-surface-registration-in-python-script/16961)

<div class="topic-metadata">

**Author:** [@robertoruizmu](https://discourse.slicer.org/u/robertoruizmu)\
**Replies:** 2\
**Last updated:** [April 11, 2024, 7:45pm UTC](https://discourse.slicer.org/t/call-surface-registration-in-python-script/16961 "2024-04-11T19:45:02Z")

</div>

Hi everyone! I´m trying surface registration on CMF extension . I would like to know if there is anyway to call that function in a scrip in python , I mean, without opening slicer , call surface registration . Thanks ! …

---

## [Module for manual segmentation (MONAI Label-like)](https://discourse.slicer.org/t/module-for-manual-segmentation-monai-label-like/35420)

<div class="topic-metadata">

**Author:** [@nicola-dallosto](https://discourse.slicer.org/u/nicola-dallosto)\
**Replies:** 2\
**Last updated:** [April 11, 2024, 4:30pm UTC](https://discourse.slicer.org/t/module-for-manual-segmentation-monai-label-like/35420 "2024-04-11T16:30:33Z")

</div>

I need to create a module to segment nifti images. My idea was to recreate the settings panel of MONAI Label (see screenshot) because it consent to connect to a server and there is a button to save the annotation and a b…

---

## [Change editortrigger using subjectHierarchyItemFlags()](https://discourse.slicer.org/t/change-editortrigger-using-subjecthierarchyitemflags/35425)

<div class="topic-metadata">

**Author:** [@zina](https://discourse.slicer.org/u/zina)\
**Replies:** 0\
**Last updated:** [April 11, 2024, 5:43am UTC](https://discourse.slicer.org/t/change-editortrigger-using-subjecthierarchyitemflags/35425 "2024-04-11T05:43:16Z")

</div>

Operating system: windows 10 Slicer version:5.6.1 r32438 / 117ce5f Expected behavior: Actual behavior: I have only qMRMLSubjectHierarchyTreeView( not a widget) I have to change edit enable for some rows , leaving oth…

---

## [VMTK Inlet and Outlet Point Creation](https://discourse.slicer.org/t/vmtk-inlet-and-outlet-point-creation/35338)

<div class="topic-metadata">

**Author:** [@THartman](https://discourse.slicer.org/u/THartman)\
**Replies:** 6\
**Last updated:** [April 10, 2024, 10:09pm UTC](https://discourse.slicer.org/t/vmtk-inlet-and-outlet-point-creation/35338 "2024-04-10T22:09:08Z")

</div>

I’m currently building an extension that uses VMTK to extract the centerlines of vessel trees in the lungs, and am looking to speed it up by adding some preprocessing to determine the inlet and outlet points of the blood…

---

## [Complex-number data](https://discourse.slicer.org/t/complex-number-data/35344)

<div class="topic-metadata">

**Author:** [@gabuzi](https://discourse.slicer.org/u/gabuzi)\
**Replies:** 2\
**Last updated:** [April 9, 2024, 5:19pm UTC](https://discourse.slicer.org/t/complex-number-data/35344 "2024-04-09T17:19:06Z")

</div>

Hi, I’m looking into building a python extension for slicer to visualize our MRI data. I realized that there doesn’t seem to be a straightforward way of getting time series of complex data (real&imaginary or magnitude&p…

---

## [How to add a clickable button on the main window](https://discourse.slicer.org/t/how-to-add-a-clickable-button-on-the-main-window/35362)

<div class="topic-metadata">

**Author:** [@nicola-dallosto](https://discourse.slicer.org/u/nicola-dallosto)\
**Replies:** 1\
**Last updated:** [April 9, 2024, 12:43pm UTC](https://discourse.slicer.org/t/how-to-add-a-clickable-button-on-the-main-window/35362 "2024-04-09T12:43:07Z")

</div>

I uploaded a python script in the .slicerrc.py file in order to open the Segment Editor when 3D Slicer starts up. Then the image to annotate is opened. I want to insert a button that the user has to click once he has fin…

---

## [Include and compile itk, vtk as an ExternalProject or Submodule](https://discourse.slicer.org/t/include-and-compile-itk-vtk-as-an-externalproject-or-submodule/35337)

<div class="topic-metadata">

**Author:** [@weidonglian](https://discourse.slicer.org/u/weidonglian)\
**Replies:** 2\
**Last updated:** [April 7, 2024, 7:47pm UTC](https://discourse.slicer.org/t/include-and-compile-itk-vtk-as-an-externalproject-or-submodule/35337 "2024-04-07T19:47:51Z")

</div>

In my c++ application, I need to use both itk, vtk and qt. In order to make the development reproducible without build itk/vtk as a seperate cmake project which definitely has a lot overhead. I have tried so far add itk…

---

## [How to get GPU information using QT and VTK?](https://discourse.slicer.org/t/how-to-get-gpu-information-using-qt-and-vtk/35297)

<div class="topic-metadata">

**Author:** [@BerDom.Ing](https://discourse.slicer.org/u/BerDom.Ing)\
**Replies:** 10\
**Last updated:** [April 6, 2024, 8:57pm UTC](https://discourse.slicer.org/t/how-to-get-gpu-information-using-qt-and-vtk/35297 "2024-04-06T20:57:00Z")

</div>

I’m trying to create a method that returns the graphics card information. To do this, I’m importing “from vtk.qt.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor”. def get\_graphics\_card\_info(): …

---

## [URGENT : Converting 2D ROI to 3D VOI](https://discourse.slicer.org/t/urgent-converting-2d-roi-to-3d-voi/35270)

<div class="topic-metadata">

**Author:** [@Poorvica\_Ramanand](https://discourse.slicer.org/u/Poorvica_Ramanand)\
**Replies:** 1\
**Last updated:** [April 6, 2024, 4:19am UTC](https://discourse.slicer.org/t/urgent-converting-2d-roi-to-3d-voi/35270 "2024-04-06T04:19:20Z")

</div>

We are creating an automated surgical planning system. We have 2D ROIs slice wise. We want to stitch it together to find a possible trajectory in 3D space. Can someone give any inputs/solutions regarding this?

---

## [Release of Slicer 5.6.2 in progress](https://discourse.slicer.org/t/release-of-slicer-5-6-2-in-progress/35300)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 3\
**Last updated:** [April 6, 2024, 3:27am UTC](https://discourse.slicer.org/t/release-of-slicer-5-6-2-in-progress/35300 "2024-04-06T03:27:44Z")

</div>

As discussed during April 2nd weekly meeting\[1\], this evening (April 4th), regular Preview and Stable builds of Slicer and associated extensions will be disabled in favor of a patch release. Fixes to be integrated are a…

---

## [Incorporating data acquisition in python automated test](https://discourse.slicer.org/t/incorporating-data-acquisition-in-python-automated-test/11844)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Replies:** 2\
**Last updated:** [June 3, 2020, 2:12pm UTC](https://discourse.slicer.org/t/incorporating-data-acquisition-in-python-automated-test/11844 "2020-06-03T14:12:31Z")

</div>

Hi all, I am writing an automated workflow test that is supposed to collect some data at times. This would mean that at certain points in the test, I “let it run” until it collects a certain seconds of replayed tracked …

---

## [Segmentation displaced regarding TC image](https://discourse.slicer.org/t/segmentation-displaced-regarding-tc-image/35251)

<div class="topic-metadata">

**Author:** [@ILB](https://discourse.slicer.org/u/ILB)\
**Replies:** 5\
**Last updated:** [April 4, 2024, 2:08pm UTC](https://discourse.slicer.org/t/segmentation-displaced-regarding-tc-image/35251 "2024-04-04T14:08:11Z")

</div>

Hi! Is there a way to correct the fact that when I use TC images for segmentation, if they have several scenes (i.e, with and without contrast), if I use one of them for vessel segmentation and the other one for organ s…

---

## [Import dicom is not working while running the segmentation script from AWS ssm "tils.importDicom(skullfolder)"](https://discourse.slicer.org/t/import-dicom-is-not-working-while-running-the-segmentation-script-from-aws-ssm-tils-importdicom-skullfolder/35273)

<div class="topic-metadata">

**Author:** [@Mani\_Barathi](https://discourse.slicer.org/u/Mani_Barathi)\
**Replies:** 0\
**Last updated:** [April 4, 2024, 5:13am UTC](https://discourse.slicer.org/t/import-dicom-is-not-working-while-running-the-segmentation-script-from-aws-ssm-tils-importdicom-skullfolder/35273 "2024-04-04T05:13:33Z")

</div>

import dicom is not working while running the segmentation script from AWS ssm “utils.importDicom(skullfolder)” SQL failed Bad SQL: Error text: No query Unable to fetch row

---

## [Distances between segments](https://discourse.slicer.org/t/distances-between-segments/35195)

<div class="topic-metadata">

**Author:** [@ILB](https://discourse.slicer.org/u/ILB)\
**Replies:** 8\
**Last updated:** [April 3, 2024, 6:47am UTC](https://discourse.slicer.org/t/distances-between-segments/35195 "2024-04-03T06:47:51Z")

</div>

Hi! Is there any software or stl viewer I can use that gives measurements between segments? For example, if I segment the liver and the aorta, is there a way to click between to points (one in the liver and the other in…

---

## [Problems following the Slicer extension tutorial](https://discourse.slicer.org/t/problems-following-the-slicer-extension-tutorial/35237)

<div class="topic-metadata">

**Author:** [@BerDom.Ing](https://discourse.slicer.org/u/BerDom.Ing)\
**Replies:** 0\
**Last updated:** [April 2, 2024, 5:35pm UTC](https://discourse.slicer.org/t/problems-following-the-slicer-extension-tutorial/35237 "2024-04-02T17:35:03Z")

</div>

In the PerkLab’s Slicer bootcamp training Scripting and module development tutorial , I encountered the following issues: After downloading the 3D model, I couldn’t load it with “c = getNode(‘Cautery’)”; instead, I h…

---

## [Surgical planning and guidance](https://discourse.slicer.org/t/surgical-planning-and-guidance/35220)

<div class="topic-metadata">

**Author:** [@ILB](https://discourse.slicer.org/u/ILB)\
**Replies:** 1\
**Last updated:** [April 2, 2024, 12:50pm UTC](https://discourse.slicer.org/t/surgical-planning-and-guidance/35220 "2024-04-02T12:50:07Z")

</div>

Hello everyone! Do you know if there is a software or 3D Slicer extension that allow doing some preoperative surgical planning over a 3D model? The idea is to simulate something like a tumor extirpation to plan which is…

---

## [Could not find nodes in the scene by name or id 'R'](https://discourse.slicer.org/t/could-not-find-nodes-in-the-scene-by-name-or-id-r/35225)

<div class="topic-metadata">

**Author:** [@LucaB](https://discourse.slicer.org/u/LucaB)\
**Replies:** 2\
**Last updated:** [April 2, 2024, 12:07pm UTC](https://discourse.slicer.org/t/could-not-find-nodes-in-the-scene-by-name-or-id-r/35225 "2024-04-02T12:07:13Z")

</div>

Operarting system: Macos Sonoma 14.1 Slicer version: 5.6.1 Expected behaviour Bounding box. Hello, I am trying to extract the bounding box from slicer. I am running in the python terminal all steps as previously ment…

---

## [Segmentation selection changed event (custom segment editor effect)](https://discourse.slicer.org/t/segmentation-selection-changed-event-custom-segment-editor-effect/27856)

<div class="topic-metadata">

**Author:** [@lukas\_n](https://discourse.slicer.org/u/lukas_n)\
**Replies:** 5\
**Last updated:** [April 1, 2024, 10:13pm UTC](https://discourse.slicer.org/t/segmentation-selection-changed-event-custom-segment-editor-effect/27856 "2024-04-01T22:13:24Z")

</div>

I am trying to write a function that is triggered when the user selects a different segmentation in the segment editor module. I searched for such event methods but could not find the right one. My guess is that there is…

---

## [Loading VivoQuant .rmha images into slicer (some rough code provided)](https://discourse.slicer.org/t/loading-vivoquant-rmha-images-into-slicer-some-rough-code-provided/35169)

<div class="topic-metadata">

**Author:** [@EgorZindy](https://discourse.slicer.org/u/EgorZindy)\
**Replies:** 6\
**Last updated:** [April 1, 2024, 5:44pm UTC](https://discourse.slicer.org/t/loading-vivoquant-rmha-images-into-slicer-some-rough-code-provided/35169 "2024-04-01T17:44:37Z")

</div>

Hello, I adapted some nifty matlab code to read .rmha images into 3d slicer. As I understand, these are VivoQuant labelled ROI images. The original code was written by Joseph Dalton Brook, which he made available in hi…

---

## [How to see the commands of what I manually do](https://discourse.slicer.org/t/how-to-see-the-commands-of-what-i-manually-do/35055)

<div class="topic-metadata">

**Author:** [@ILB](https://discourse.slicer.org/u/ILB)\
**Replies:** 5\
**Last updated:** [April 1, 2024, 3:22pm UTC](https://discourse.slicer.org/t/how-to-see-the-commands-of-what-i-manually-do/35055 "2024-04-01T15:22:31Z")

</div>

Hi! Is there a way to see the commands that I execute while segmenting an image? For example, if I select a specific module or if I add a segment, I would like to know what would be the commands to introduce to automate…

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

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