# Development

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

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

**Page:** 59

---

## [SegmentGeometry not able to create table on Linux](https://discourse.slicer.org/t/segmentgeometry-not-able-to-create-table-on-linux/22257)

<div class="topic-metadata">

**Author:** [@Michel\_Atieh](https://discourse.slicer.org/u/Michel_Atieh)\
**Replies:** 3\
**Last updated:** [March 2, 2022, 1:13pm UTC](https://discourse.slicer.org/t/segmentgeometry-not-able-to-create-table-on-linux/22257 "2022-03-02T13:13:29Z")

</div>

Hello, whenever I am trying to create a table to get the data of the segments I have drawn on the image I get this error. I am only getting this problem on Linux. Thank you.

---

## [Running a custom extension on start](https://discourse.slicer.org/t/running-a-custom-extension-on-start/22256)

<div class="topic-metadata">

**Author:** [@Vincebisca](https://discourse.slicer.org/u/Vincebisca)\
**Replies:** 5\
**Last updated:** [March 2, 2022, 1:07pm UTC](https://discourse.slicer.org/t/running-a-custom-extension-on-start/22256 "2022-03-02T13:07:52Z")

</div>

Hello, I am searching for a way to start a custom extension directly when starting 3D Slicer (some kind of modified .exe file, I don’t know). I am very bad at coding but managed somehow a few months ago to create a cus…

---

## [Fast share S4 sources between two development computers on Windows](https://discourse.slicer.org/t/fast-share-s4-sources-between-two-development-computers-on-windows/22233)

<div class="topic-metadata">

**Author:** [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Replies:** 3\
**Last updated:** [March 1, 2022, 6:07pm UTC](https://discourse.slicer.org/t/fast-share-s4-sources-between-two-development-computers-on-windows/22233 "2022-03-01T18:07:23Z")

</div>

Maybe trivial, but I found it too time-consuming to use Github and daily commits to exchange recent source changes on two rapidly changing developing locations (windows). Can’t use RDP all the time. I created a folder “…

---

## [Add slicer to endoflife.date website?](https://discourse.slicer.org/t/add-slicer-to-endoflife-date-website/22225)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 3\
**Last updated:** [March 1, 2022, 5:36pm UTC](https://discourse.slicer.org/t/add-slicer-to-endoflife-date-website/22225 "2022-03-01T17:36:51Z")

</div>

Overview The website is a useful resource to find out which version is current, actively maintained, receiving security patches, … Here are few examples: https://endoflife.date/blender (contributed through PR endofl…

---

## [How do I convert points in IJK coordinates to points in RAS coordinates?](https://discourse.slicer.org/t/how-do-i-convert-points-in-ijk-coordinates-to-points-in-ras-coordinates/22231)

<div class="topic-metadata">

**Author:** [@zhuyingxinxs](https://discourse.slicer.org/u/zhuyingxinxs)\
**Replies:** 1\
**Last updated:** [March 1, 2022, 2:22pm UTC](https://discourse.slicer.org/t/how-do-i-convert-points-in-ijk-coordinates-to-points-in-ras-coordinates/22231 "2022-03-01T14:22:44Z")

</div>

I currently know the coordinates of a marked point in IJK coordinates. How do I get the coordinates of this point converted to RAS coordinates?

---

## [Custom Segment Editor effect - Undo action](https://discourse.slicer.org/t/custom-segment-editor-effect-undo-action/22115)

<div class="topic-metadata">

**Author:** [@giovform](https://discourse.slicer.org/u/giovform)\
**Replies:** 7\
**Last updated:** [February 22, 2022, 10:02pm UTC](https://discourse.slicer.org/t/custom-segment-editor-effect-undo-action/22115 "2022-02-22T22:02:48Z")

</div>

I am writing a custom segment editor effect in python. I would like to perform some actions when a user clicks the Undo button under the current effect. How could it be done? Thanks!

---

## [Superimposing nrrd over DICOM](https://discourse.slicer.org/t/superimposing-nrrd-over-dicom/22105)

<div class="topic-metadata">

**Author:** [@AMK](https://discourse.slicer.org/u/AMK)\
**Replies:** 1\
**Last updated:** [February 22, 2022, 6:43pm UTC](https://discourse.slicer.org/t/superimposing-nrrd-over-dicom/22105 "2022-02-22T18:43:09Z")

</div>

Hi, I am developing an extension in Slicer for automatic segmentation and surgical planning. I have been able to perform the automatic segmentation outside the Slicer and then import the file to further modify it. But t…

---

## [Error running a processing script on many segments](https://discourse.slicer.org/t/error-running-a-processing-script-on-many-segments/22010)

<div class="topic-metadata">

**Author:** [@hourglassnam](https://discourse.slicer.org/u/hourglassnam)\
**Replies:** 4\
**Last updated:** [February 21, 2022, 2:19am UTC](https://discourse.slicer.org/t/error-running-a-processing-script-on-many-segments/22010 "2022-02-21T02:19:59Z")

</div>

Dear community, I have problem writing for loop. When I try the script, it works just fine but it would not work as soon as I try to loop. There must be something wrong with my script, but I can’t figure it out. Here…

---

## [Can the OrientationMarkerType be customized?](https://discourse.slicer.org/t/can-the-orientationmarkertype-be-customized/22063)

<div class="topic-metadata">

**Author:** [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Replies:** 4\
**Last updated:** [February 20, 2022, 2:25pm UTC](https://discourse.slicer.org/t/can-the-orientationmarkertype-be-customized/22063 "2022-02-20T14:25:21Z")

</div>

Can the OrientationMarkerType be customized? 我想用椎体代替human, 我该怎么做呢? I want to replace the OrientationMarkerTypehuman with a vertebral body, how can I do that? @lassoan@Juicy@jamesobutler @jcfr @pieper

---

## [Error in importing the library](https://discourse.slicer.org/t/error-in-importing-the-library/22053)

<div class="topic-metadata">

**Author:** [@user5](https://discourse.slicer.org/u/user5)\
**Replies:** 8\
**Last updated:** [February 19, 2022, 4:57am UTC](https://discourse.slicer.org/t/error-in-importing-the-library/22053 "2022-02-19T04:57:27Z")

</div>

Sorry that it is my first time to do the project based programming. I have tried to import library into visual studio for programming . I follow the tutorial in internet and I imported the VTK modules successfully, but…

---

## [Slicer/Unity bridge, interest?](https://discourse.slicer.org/t/slicer-unity-bridge-interest/13795)

<div class="topic-metadata">

**Author:** [@adamrankin](https://discourse.slicer.org/u/adamrankin)\
**Replies:** 8\
**Last updated:** [February 19, 2022, 11:38am UTC](https://discourse.slicer.org/t/slicer-unity-bridge-interest/13795 "2022-02-19T11:38:51Z")

</div>

Hello all, Our research group has some funds available for VR infrastructure development, and we are exploring the value of building a Slicer/Unity bridge. Our primary goal is to enable Slicer on the HoloLens (and Holo…

---

## [Segment Geometry Extension showing more slices than what exists](https://discourse.slicer.org/t/segment-geometry-extension-showing-more-slices-than-what-exists/21756)

<div class="topic-metadata">

**Author:** [@Michel\_Atieh](https://discourse.slicer.org/u/Michel_Atieh)\
**Replies:** 3\
**Last updated:** [February 19, 2022, 11:19am UTC](https://discourse.slicer.org/t/segment-geometry-extension-showing-more-slices-than-what-exists/21756 "2022-02-19T11:19:02Z")

</div>

Hello, I have noticed when segmenting organs on 3D Slicer that when using the Segment Geometry Extension it shows more slices than what I have contoured. The more the slices I contour the bigger the error (for 60 slices…

---

## [Problems running Elastix](https://discourse.slicer.org/t/problems-running-elastix/21759)

<div class="topic-metadata">

**Author:** [@Francesca\_Pittoni](https://discourse.slicer.org/u/Francesca_Pittoni)\
**Replies:** 1\
**Last updated:** [February 18, 2022, 11:44pm UTC](https://discourse.slicer.org/t/problems-running-elastix/21759 "2022-02-18T23:44:39Z")

</div>

Hi, I have been using 3D Slicer for months, without ever having had any problems; yesterday I had to uninstall it, and then I proceeded to reinstall the new version 4.11. However I am encountering many problems (for ex…

---

## [Match vtkMRMLScalarVolumeNode to vtkMRMLLabelMapVolumeNode retrieved from vtkMRMLSegmentationNode](https://discourse.slicer.org/t/match-vtkmrmlscalarvolumenode-to-vtkmrmllabelmapvolumenode-retrieved-from-vtkmrmlsegmentationnode/22033)

<div class="topic-metadata">

**Author:** [@tetyanaloskutova](https://discourse.slicer.org/u/tetyanaloskutova)\
**Replies:** 4\
**Last updated:** [February 18, 2022, 11:19pm UTC](https://discourse.slicer.org/t/match-vtkmrmlscalarvolumenode-to-vtkmrmllabelmapvolumenode-retrieved-from-vtkmrmlsegmentationnode/22033 "2022-02-18T23:19:14Z")

</div>

Hi, I have 23 scan images (vtkMRMLScalarVolumeNode ) and matching to some of them 13 vtkMRMLLabelMapVolumeNode retrieved from vtkMRMLSegmentationNode. They are not in order, i.e. 1st vtkMRMLScalarVolumeNode matches 7th …

---

## [Load GE Kretzfile 3D Dicom data into python](https://discourse.slicer.org/t/load-ge-kretzfile-3d-dicom-data-into-python/22044)

<div class="topic-metadata">

**Author:** [@leopold-franz](https://discourse.slicer.org/u/leopold-franz)\
**Replies:** 1\
**Last updated:** [February 18, 2022, 4:28pm UTC](https://discourse.slicer.org/t/load-ge-kretzfile-3d-dicom-data-into-python/22044 "2022-02-18T16:28:52Z")

</div>

Hello, Im currently developing an app to access segment 3D ultrasound images from a Voluson E10 device. The images are currently saved as a DICOMDIR that contain Dicom images in the GE Kretzfile format. I managed to suc…

---

## [In version 4.13 ，the script doesn't work](https://discourse.slicer.org/t/in-version-4-13-the-script-doesnt-work/22008)

<div class="topic-metadata">

**Author:** [@slicer365](https://discourse.slicer.org/u/slicer365)\
**Replies:** 1\
**Last updated:** [February 18, 2022, 4:47am UTC](https://discourse.slicer.org/t/in-version-4-13-the-script-doesnt-work/22008 "2022-02-18T04:47:38Z")

</div>

Hello,everyone！ version 4.13 0215 win 10 Problem as is shown in the picture and I can’t find the module SlicerElastix in the new version extention manager

---

## [Restoring scene view duplicates scene heirarchy](https://discourse.slicer.org/t/restoring-scene-view-duplicates-scene-heirarchy/22025)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 3\
**Last updated:** [February 18, 2022, 4:23am UTC](https://discourse.slicer.org/t/restoring-scene-view-duplicates-scene-heirarchy/22025 "2022-02-18T04:23:32Z")

</div>

This harkens back to a number of discussions from months past on Scene Views, which I haven’t used in quite a while (and now I’m remembering some of the reasons why). One of the discussions linked below. So right now, w…

---

## [Threshold fail for Segment Editor](https://discourse.slicer.org/t/threshold-fail-for-segment-editor/4809)

<div class="topic-metadata">

**Author:** [@cyufu](https://discourse.slicer.org/u/cyufu)\
**Replies:** 9\
**Last updated:** [November 22, 2018, 12:55am UTC](https://discourse.slicer.org/t/threshold-fail-for-segment-editor/4809 "2018-11-22T00:55:39Z")

</div>

Operating system: windows 10 64 Slicer version:4.11.0 2018-11-17 Apply fail Use for masking→Paint or Scissors（fill inside）fail Thanks Cyufu

---

## [Green horizontal lines appear on the screen](https://discourse.slicer.org/t/green-horizontal-lines-appear-on-the-screen/22030)

<div class="topic-metadata">

**Author:** [@yikyekgo](https://discourse.slicer.org/u/yikyekgo)\
**Replies:** 1\
**Last updated:** [February 17, 2022, 8:11pm UTC](https://discourse.slicer.org/t/green-horizontal-lines-appear-on-the-screen/22030 "2022-02-17T20:11:24Z")

</div>

S.O.S

---

## [Maintenance of factory-south-macos: Expected downtime for the next hour](https://discourse.slicer.org/t/maintenance-of-factory-south-macos-expected-downtime-for-the-next-hour/22027)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Replies:** 1\
**Last updated:** [February 17, 2022, 8:06pm UTC](https://discourse.slicer.org/t/maintenance-of-factory-south-macos-expected-downtime-for-the-next-hour/22027 "2022-02-17T20:06:38Z")

</div>

The system will be relocated into a different server room and planned extensions build associated with SlicerPreview and SlicerStable may be incomplete.

---

## [Need a slicer that can export contours](https://discourse.slicer.org/t/need-a-slicer-that-can-export-contours/22004)

<div class="topic-metadata">

**Author:** [@BOB\_GER](https://discourse.slicer.org/u/BOB_GER)\
**Replies:** 1\
**Last updated:** [February 17, 2022, 11:04am UTC](https://discourse.slicer.org/t/need-a-slicer-that-can-export-contours/22004 "2022-02-17T11:04:07Z")

</div>

Hi, i am looking for a software that can silce my 3D solid and export the contourelements for printing. I file like dxf or any readable format would be fine. Ok, of course i can take the Gcode and look for the different…

---

## [Cropping volume with transformed ROI](https://discourse.slicer.org/t/cropping-volume-with-transformed-roi/21989)

<div class="topic-metadata">

**Author:** [@hourglassnam](https://discourse.slicer.org/u/hourglassnam)\
**Replies:** 5\
**Last updated:** [February 17, 2022, 6:51am UTC](https://discourse.slicer.org/t/cropping-volume-with-transformed-roi/21989 "2022-02-17T06:51:45Z")

</div>

Dear community, I have two questions on creating py script for ROI and using it for cropping volume with Image stack. Issue #1 My goal is to create ROI for each of the ten segments I have and make separate files with …

---

## [Selected segment and applied effect history on undo/redo](https://discourse.slicer.org/t/selected-segment-and-applied-effect-history-on-undo-redo/21880)

<div class="topic-metadata">

**Author:** [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Replies:** 3\
**Last updated:** [February 14, 2022, 10:37pm UTC](https://discourse.slicer.org/t/selected-segment-and-applied-effect-history-on-undo-redo/21880 "2022-02-14T22:37:14Z")

</div>

Hi Devs. Our application has a fixed segmentation workflow comprised of several segmentation steps. Each step may create 1 or more segments, select it and execute 1 or more segmentEditorEffects. The problem with the cu…

---

## [Segment not showing up on the segment editor](https://discourse.slicer.org/t/segment-not-showing-up-on-the-segment-editor/21885)

<div class="topic-metadata">

**Author:** [@hourglassnam](https://discourse.slicer.org/u/hourglassnam)\
**Replies:** 2\
**Last updated:** [February 14, 2022, 9:09am UTC](https://discourse.slicer.org/t/segment-not-showing-up-on-the-segment-editor/21885 "2022-02-14T09:09:44Z")

</div>

Hello~ I have problems with the segmentation editor. Some of the segments disappear on the Segment Editor during the segmentation process. However, when I checked the Data list, all the segments were still there! And…

---

## [Module 'slicer.util' has no attribute 'updateSegmentBinaryLabelmapFromArray'](https://discourse.slicer.org/t/module-slicer-util-has-no-attribute-updatesegmentbinarylabelmapfromarray/21949)

<div class="topic-metadata">

**Author:** [@Saebiryx](https://discourse.slicer.org/u/Saebiryx)\
**Replies:** 1\
**Last updated:** [February 13, 2022, 1:31pm UTC](https://discourse.slicer.org/t/module-slicer-util-has-no-attribute-updatesegmentbinarylabelmapfromarray/21949 "2022-02-13T13:31:02Z")

</div>

Operating system: Windows 10 Slicer version: 4.11.20210226 Behavior: Using the python interactor, i’m unable to change a labelmap. slicer.util.updateSegmentBinaryLabelmapFromArray(segmentArray, segmentationNode, s…

---

## [Two nodes created using loadSeriesByUID for MR Image Storage SOPClass](https://discourse.slicer.org/t/two-nodes-created-using-loadseriesbyuid-for-mr-image-storage-sopclass/21905)

<div class="topic-metadata">

**Author:** [@CJohnson](https://discourse.slicer.org/u/CJohnson)\
**Replies:** 2\
**Last updated:** [February 13, 2022, 1:04am UTC](https://discourse.slicer.org/t/two-nodes-created-using-loadseriesbyuid-for-mr-image-storage-sopclass/21905 "2022-02-13T01:04:18Z")

</div>

Operating system: Windows 10 Slicer version: 4.11.20210226 Expected behavior: One MRMLScalarVolumeNode should be created Actual behavior: Two MRMLScalarVolumeNode (s) are created, one has only one slice with the time …

---

## ["Save before exit?" always shows, even right after save](https://discourse.slicer.org/t/save-before-exit-always-shows-even-right-after-save/21926)

<div class="topic-metadata">

**Author:** [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Replies:** 5\
**Last updated:** [February 11, 2022, 11:52pm UTC](https://discourse.slicer.org/t/save-before-exit-always-shows-even-right-after-save/21926 "2022-02-11T23:52:52Z")

</div>

4.13.0-2022-02-07, although this has been happening for some time. If I save, then try to exit, I always get the “Some data have been modified. Do you want to save them before exit?” Is there a way to figure out what n…

---

## [No Slicer Preview Release for Windows today and some extensions were missing yesterday](https://discourse.slicer.org/t/no-slicer-preview-release-for-windows-today-and-some-extensions-were-missing-yesterday/21920)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 1\
**Last updated:** [February 11, 2022, 6:15pm UTC](https://discourse.slicer.org/t/no-slicer-preview-release-for-windows-today-and-some-extensions-were-missing-yesterday/21920 "2022-02-11T18:15:04Z")

</div>

No Windows build was updated today and some extensions (such as QuantitativeReporting) is missing for yesterday’s release. Maybe the Windows factory crashed? @Sam\_Horvath could you have a look? Thank you!

---

## [Can you use slicer modules within another pyqt project](https://discourse.slicer.org/t/can-you-use-slicer-modules-within-another-pyqt-project/21878)

<div class="topic-metadata">

**Author:** [@dj\_96](https://discourse.slicer.org/u/dj_96)\
**Replies:** 5\
**Last updated:** [February 10, 2022, 9:05pm UTC](https://discourse.slicer.org/t/can-you-use-slicer-modules-within-another-pyqt-project/21878 "2022-02-10T21:05:28Z")

</div>

I want to build a pyqt application that uses a couple of the functions from 3d slicer like loading models and viewing them with vtk but to have a very different UI with extra functionality . Is there a good way to use 3d…

---

## [Show/hide slice views in 3D view using Python](https://discourse.slicer.org/t/show-hide-slice-views-in-3d-view-using-python/3074)

<div class="topic-metadata">

**Author:** [@ollih10](https://discourse.slicer.org/u/ollih10)\
**Replies:** 9\
**Last updated:** [February 10, 2022, 5:09pm UTC](https://discourse.slicer.org/t/show-hide-slice-views-in-3d-view-using-python/3074 "2022-02-10T17:09:15Z")

</div>

Hi developers, I have a problem switching on the slice views on or off in the 3D view from Python permanently. The code I am using for i.e. switch on the red slice view is: current\_slice\_node = slicer.mrmlScene.GetNode…

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

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