# Development

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

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

**Page:** 102

---

## [Screen capture of chart](https://discourse.slicer.org/t/screen-capture-of-chart/9195)

<div class="topic-metadata">

**Author:** [@dominicrushforth](https://discourse.slicer.org/u/dominicrushforth)\
**Replies:** 2\
**Last updated:** [November 22, 2019, 3:20pm UTC](https://discourse.slicer.org/t/screen-capture-of-chart/9195 "2019-11-22T15:20:49Z")

</div>

I want to screen capture a chart I’ve generated (using python) for inclusion in a report. The following code works great for a 3D display… view = cap.viewFromNode(slicer.mrmlScene.GetNodeByID(‘vtkMRMLViewNode1’)) cap.…

---

## [WEIRD ERROR being faced in slicer of cropped image](https://discourse.slicer.org/t/weird-error-being-faced-in-slicer-of-cropped-image/9265)

<div class="topic-metadata">

**Author:** [@momosukh](https://discourse.slicer.org/u/momosukh)\
**Replies:** 0\
**Last updated:** [November 21, 2019, 9:51pm UTC](https://discourse.slicer.org/t/weird-error-being-faced-in-slicer-of-cropped-image/9265 "2019-11-21T21:51:12Z")

</div>

I am facing a weird issue, I am unable to paint the layer of the outer abdomen, fat, using paint, draw, and other techniques, as shown as the red circle in the figure. The ROI of the area is well spaced in all 3 coordina…

---

## [Failing py\_RSNA2012ProstateDemo test](https://discourse.slicer.org/t/failing-py-rsna2012prostatedemo-test/9119)

<div class="topic-metadata">

**Author:** [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Replies:** 9\
**Last updated:** [November 21, 2019, 6:28pm UTC](https://discourse.slicer.org/t/failing-py-rsna2012prostatedemo-test/9119 "2019-11-21T18:28:19Z")

</div>

I have been fixing long time failing tests however I’m unable to replicate the failure of py\_RSNA2012ProstateDemo test locally on my Windows machine. The test only fails on Windows and doesn’t provide any helpful output…

---

## [How to change window/level programmatically](https://discourse.slicer.org/t/how-to-change-window-level-programmatically/9043)

<div class="topic-metadata">

**Author:** [@giovform](https://discourse.slicer.org/u/giovform)\
**Replies:** 4\
**Last updated:** [November 7, 2019, 4:36pm UTC](https://discourse.slicer.org/t/how-to-change-window-level-programmatically/9043 "2019-11-07T16:36:30Z")

</div>

Hi Andras, how could I set the window/level region programmatically, and apply the optimal window/level afterwards?

---

## [Bright future for slicer.org](https://discourse.slicer.org/t/bright-future-for-slicer-org/9202)

<div class="topic-metadata">

**Author:** [@Sheldon](https://discourse.slicer.org/u/Sheldon)\
**Replies:** 0\
**Last updated:** [November 18, 2019, 9:36pm UTC](https://discourse.slicer.org/t/bright-future-for-slicer-org/9202 "2019-11-18T21:36:07Z")

</div>

Good morning, What is the Future for Slicer.org? This technology saves lives. Seeing is believing with this software, the Volume differences is space age tech! As i see it, this needs to be a standard. The Future IS h…

---

## [Get the current volume node rendered in the Red Yellow Green view](https://discourse.slicer.org/t/get-the-current-volume-node-rendered-in-the-red-yellow-green-view/9190)

<div class="topic-metadata">

**Author:** [@CreepyTrick](https://discourse.slicer.org/u/CreepyTrick)\
**Replies:** 4\
**Last updated:** [November 18, 2019, 2:39pm UTC](https://discourse.slicer.org/t/get-the-current-volume-node-rendered-in-the-red-yellow-green-view/9190 "2019-11-18T14:39:58Z")

</div>

Hello I’m trying to get the current volume rendered in the RYG views (from a Dicom). On the screen, i have 2 volume: For now, i already got all the vtkMRMLScalarVolumeNode in a VtkCollection, but i cannot find a way…

---

## [Report: if Slicer's super build dir is in a softly linked dir](https://discourse.slicer.org/t/report-if-slicers-super-build-dir-is-in-a-softly-linked-dir/9001)

<div class="topic-metadata">

**Author:** [@gaoyi.cn](https://discourse.slicer.org/u/gaoyi.cn)\
**Replies:** 4\
**Last updated:** [November 14, 2019, 2:22pm UTC](https://discourse.slicer.org/t/report-if-slicers-super-build-dir-is-in-a-softly-linked-dir/9001 "2019-11-14T14:22:42Z")

</div>

Dear All, I’m doing a case report on building slicer in a soft-ly linked dir. I have two hard drives with typical config: one fast and small, one big and slow. My home dir is on the fast disk, mounted at: /home/gaoyi …

---

## [OpenIGT Image Message](https://discourse.slicer.org/t/openigt-image-message/9117)

<div class="topic-metadata">

**Author:** [@burnhamd](https://discourse.slicer.org/u/burnhamd)\
**Replies:** 1\
**Last updated:** [November 12, 2019, 3:46pm UTC](https://discourse.slicer.org/t/openigt-image-message/9117 "2019-11-12T15:46:11Z")

</div>

Is there a way to get the image data message from a sender that supports this message type? I want to receive this and display it in a widget that I added to a module.

---

## [Subject hierarchy](https://discourse.slicer.org/t/subject-hierarchy/9108)

<div class="topic-metadata">

**Author:** [@Ludovic\_Ferrer](https://discourse.slicer.org/u/Ludovic_Ferrer)\
**Replies:** 2\
**Last updated:** [November 12, 2019, 7:41am UTC](https://discourse.slicer.org/t/subject-hierarchy/9108 "2019-11-12T07:41:32Z")

</div>

Hi everyone, I have some issues with subject hierarchy in scripted-CLI. Basically, I created a QMRMLSubjectHierarchyTreeView to store ScalarVolume and TransformNode I use or create. My trouble is that I can’t make a no…

---

## [Support for .AIM/.isq files generated on Scanco microCT](https://discourse.slicer.org/t/support-for-aim-isq-files-generated-on-scanco-microct/6261)

<div class="topic-metadata">

**Author:** [@BhanuPetla](https://discourse.slicer.org/u/BhanuPetla)\
**Replies:** 34\
**Last updated:** [November 12, 2019, 12:40am UTC](https://discourse.slicer.org/t/support-for-aim-isq-files-generated-on-scanco-microct/6261 "2019-11-12T00:40:04Z")

</div>

I might be the odd one out here working on plants. I am new to Slicer and trying to use Scanco microCT 50 for scanning my plant root samples. Would like to know if you are planning to give support for direct import of .A…

---

## [Cannot import numpy array using updateVolumeFromArray](https://discourse.slicer.org/t/cannot-import-numpy-array-using-updatevolumefromarray/9091)

<div class="topic-metadata">

**Author:** [@stevenagl12](https://discourse.slicer.org/u/stevenagl12)\
**Replies:** 4\
**Last updated:** [November 9, 2019, 2:38pm UTC](https://discourse.slicer.org/t/cannot-import-numpy-array-using-updatevolumefromarray/9091 "2019-11-09T14:38:50Z")

</div>

---

## [Importing Numpy & NPZ files into Slicer](https://discourse.slicer.org/t/importing-numpy-npz-files-into-slicer/8497)

<div class="topic-metadata">

**Author:** [@stevenagl12](https://discourse.slicer.org/u/stevenagl12)\
**Replies:** 14\
**Last updated:** [September 23, 2019, 3:50pm UTC](https://discourse.slicer.org/t/importing-numpy-npz-files-into-slicer/8497 "2019-09-23T15:50:30Z")

</div>

Hi, I have been working in python on a new deep learning algorithm. I would like to use Slicer to display the output to evaluate, but I am not sure how to import the output npz files into slicer for display, nor how to c…

---

## [Build on MacOS10.15](https://discourse.slicer.org/t/build-on-macos10-15/9070)

<div class="topic-metadata">

**Author:** [@radiosp412](https://discourse.slicer.org/u/radiosp412)\
**Replies:** 1\
**Last updated:** [November 8, 2019, 12:33am UTC](https://discourse.slicer.org/t/build-on-macos10-15/9070 "2019-11-08T00:33:30Z")

</div>

I am having difficulty building Slicer. My system configuration is as follows MacBook Pro 2017 , 2.3 GHz Dual-Core Intel Core i5 MacOS. 10.15.1 Xcode 11.2 After cloning slicer, I execute the following commands in a …

---

## [Sphere brush via script](https://discourse.slicer.org/t/sphere-brush-via-script/9066)

<div class="topic-metadata">

**Author:** [@Amine](https://discourse.slicer.org/u/Amine)\
**Replies:** 4\
**Last updated:** [November 7, 2019, 9:09pm UTC](https://discourse.slicer.org/t/sphere-brush-via-script/9066 "2019-11-07T21:09:04Z")

</div>

Hi, i can’t find the script to switch to sphere brush (or edit in 3d views as well), i tried this but it doesen’t seem to work: import EditorLib paramnode = EditorLib.EditUtil.EditUtil().getParameterNode() …

---

## [Magic leap and LIVE ULTRASOUND](https://discourse.slicer.org/t/magic-leap-and-live-ultrasound/5712)

<div class="topic-metadata">

**Author:** [@Amir\_y](https://discourse.slicer.org/u/Amir_y)\
**Replies:** 1\
**Last updated:** [November 7, 2019, 2:36pm UTC](https://discourse.slicer.org/t/magic-leap-and-live-ultrasound/5712 "2019-11-07T14:36:49Z")

</div>

Dear Andras, We have started to develop an experiment to connect the magic leap with live ultrasound preview. (we have a minimum focal distance at 38 cm with the magic leap so it can work well). We are working with GE…

---

## [reading pixel value ](https://discourse.slicer.org/t/reading-pixel-value/9051)

<div class="topic-metadata">

**Author:** [@abir\_frad](https://discourse.slicer.org/u/abir_frad)\
**Replies:** 1\
**Last updated:** [November 6, 2019, 11:45pm UTC](https://discourse.slicer.org/t/reading-pixel-value/9051 "2019-11-06T23:45:26Z")

</div>

Hi everyone I am using an exemple of segmentation that need a seed point and I want to manually enter the value,is it possible to read pixel value from an image directly using 3D slicer

---

## [What's the best approach to saving additional data associated with a module?](https://discourse.slicer.org/t/whats-the-best-approach-to-saving-additional-data-associated-with-a-module/9018)

<div class="topic-metadata">

**Author:** [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Replies:** 3\
**Last updated:** [November 5, 2019, 7:51pm UTC](https://discourse.slicer.org/t/whats-the-best-approach-to-saving-additional-data-associated-with-a-module/9018 "2019-11-05T19:51:15Z")

</div>

I would like to be able to save/restore data from one usage session to another for my scripted python module. I understand that there is the ability to use a vtkMRMLScriptedModuleParameterNode() like shown here. However…

---

## [VTK leaks while testing](https://discourse.slicer.org/t/vtk-leaks-while-testing/9026)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 3\
**Last updated:** [November 5, 2019, 2:48pm UTC](https://discourse.slicer.org/t/vtk-leaks-while-testing/9026 "2019-11-05T14:48:21Z")

</div>

Basically I have this code for setting a default volume in the views mainWindow = slicer.util.mainWindow() if mainWindow is not None: layoutManager = slicer.app.layoutManager() if…

---

## [Problem Keep largest island / Islands Tool - Segmentor Editor Nightly Version 2019-11-03](https://discourse.slicer.org/t/problem-keep-largest-island-islands-tool-segmentor-editor-nightly-version-2019-11-03/9031)

<div class="topic-metadata">

**Author:** [@juangdiosa](https://discourse.slicer.org/u/juangdiosa)\
**Replies:** 1\
**Last updated:** [November 5, 2019, 2:30pm UTC](https://discourse.slicer.org/t/problem-keep-largest-island-islands-tool-segmentor-editor-nightly-version-2019-11-03/9031 "2019-11-05T14:30:55Z")

</div>

Hi everybody, I have been some problems using Keep largest island tool in Nightly Version 2019-11-03 and Version 2019-10-28. The main issue is after click in apply bottom, it does not work ( I does not remove unlinked …

---

## [Get ROINode Information by clicking](https://discourse.slicer.org/t/get-roinode-information-by-clicking/8958)

<div class="topic-metadata">

**Author:** [@CreepyTrick](https://discourse.slicer.org/u/CreepyTrick)\
**Replies:** 8\
**Last updated:** [November 4, 2019, 3:27pm UTC](https://discourse.slicer.org/t/get-roinode-information-by-clicking/8958 "2019-11-04T15:27:14Z")

</div>

Hello, I’m trying to get the all information about a drawed ROINode on the slice view: The goal is the following: I want to click on a white square to get all the ROINode informations / properties (coordinates for e…

---

## [Cannot import pydicom](https://discourse.slicer.org/t/cannot-import-pydicom/8766)

<div class="topic-metadata">

**Author:** [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Replies:** 11\
**Last updated:** [November 4, 2019, 3:05am UTC](https://discourse.slicer.org/t/cannot-import-pydicom/8766 "2019-11-04T03:05:04Z")

</div>

In the current nightly binary, neither import dicom nor import pydicom work. Is there a new way to import pydicom?

---

## [Custom build crash - MacOS 10.12](https://discourse.slicer.org/t/custom-build-crash-macos-10-12/4545)

<div class="topic-metadata">

**Author:** [@dominicwhite](https://discourse.slicer.org/u/dominicwhite)\
**Replies:** 3\
**Last updated:** [November 1, 2019, 2:48am UTC](https://discourse.slicer.org/t/custom-build-crash-macos-10-12/4545 "2019-11-01T02:48:33Z")

</div>

I’ve been trying to build Slicer from source, but I keep running into the following error when running the build: 2018-10-26 11:18:42.097 Slicer\[1559:9595646\] \*\*\* WARNING: Method userSpaceScaleFactor in class NSView is …

---

## [Automatic center volume when clicking on the eye to show volume](https://discourse.slicer.org/t/automatic-center-volume-when-clicking-on-the-eye-to-show-volume/8973)

<div class="topic-metadata">

**Author:** [@giovform](https://discourse.slicer.org/u/giovform)\
**Replies:** 4\
**Last updated:** [October 31, 2019, 4:05pm UTC](https://discourse.slicer.org/t/automatic-center-volume-when-clicking-on-the-eye-to-show-volume/8973 "2019-10-31T16:05:07Z")

</div>

Hi, I have multiple volumes and would like to call slicer.util.resetSliceViews() when the ‘eye’ button is clicked to show the volume. Is there a way to script this behavior? Thanks!

---

## [Importation of additional data into a MRML node from a dicom](https://discourse.slicer.org/t/importation-of-additional-data-into-a-mrml-node-from-a-dicom/8927)

<div class="topic-metadata">

**Author:** [@Impetus](https://discourse.slicer.org/u/Impetus)\
**Replies:** 2\
**Last updated:** [October 28, 2019, 5:32pm UTC](https://discourse.slicer.org/t/importation-of-additional-data-into-a-mrml-node-from-a-dicom/8927 "2019-10-28T17:32:52Z")

</div>

Hello, I am currently working on a scripted plugin for 3DSlicer that aims to load extra data from DICOM files and store it into a MRML node. I was wondering if the embedded DICOM reader is enough for that purpose or if …

---

## [Create a cylinder based on user input](https://discourse.slicer.org/t/create-a-cylinder-based-on-user-input/8911)

<div class="topic-metadata">

**Author:** [@mpontin](https://discourse.slicer.org/u/mpontin)\
**Replies:** 8\
**Last updated:** [October 28, 2019, 11:38am UTC](https://discourse.slicer.org/t/create-a-cylinder-based-on-user-input/8911 "2019-10-28T11:38:29Z")

</div>

Hi everybody, I’m new to 3DSlicer so I don’t really know where to begin. I’m trying to develop a module in order to automatically create a cylinder based on user input. The idea is that the user selects a radius, then…

---

## [How to get the coordinates of fiducials with C++](https://discourse.slicer.org/t/how-to-get-the-coordinates-of-fiducials-with-c/8906)

<div class="topic-metadata">

**Author:** [@Haoyin\_Zhou](https://discourse.slicer.org/u/Haoyin_Zhou)\
**Replies:** 1\
**Last updated:** [October 27, 2019, 5:23pm UTC](https://discourse.slicer.org/t/how-to-get-the-coordinates-of-fiducials-with-c/8906 "2019-10-27T17:23:17Z")

</div>

Hi, if there already exist two sets of fiducials, for example “fixed” and “moving”, which are placed manually. Then how to get the list of coordinates of the two sets of fiducials? I found the class vtkMRMLMarkupsFiduci…

---

## [Factory status: Late extensions today](https://discourse.slicer.org/t/factory-status-late-extensions-today/8878)

<div class="topic-metadata">

**Author:** [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Replies:** 2\
**Last updated:** [October 23, 2019, 6:22pm UTC](https://discourse.slicer.org/t/factory-status-late-extensions-today/8878 "2019-10-23T18:22:42Z")

</div>

Extensions are running late for the most recent nightly build. They should be up by this afternoon.

---

## [Select cells of a 3D model](https://discourse.slicer.org/t/select-cells-of-a-3d-model/7753)

<div class="topic-metadata">

**Author:** [@Saima](https://discourse.slicer.org/u/Saima)\
**Replies:** 20\
**Last updated:** [September 12, 2019, 5:26pm UTC](https://discourse.slicer.org/t/select-cells-of-a-3d-model/7753 "2019-09-12T17:26:10Z")

</div>

---

## [Change active markup list (open curve) from another module, and control-click to add new points](https://discourse.slicer.org/t/change-active-markup-list-open-curve-from-another-module-and-control-click-to-add-new-points/8785)

<div class="topic-metadata">

**Author:** [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Replies:** 2\
**Last updated:** [October 20, 2019, 3:45am UTC](https://discourse.slicer.org/t/change-active-markup-list-open-curve-from-another-module-and-control-click-to-add-new-points/8785 "2019-10-20T03:45:05Z")

</div>

Hello, I have several objects whose visualizations in Slicer are represented by the new Open Curve markups. From my module, I would like to be able to select which Open Curve is currently active and click to add new poi…

---

## [import tensorflow from within Slicer python interactor causes crash](https://discourse.slicer.org/t/import-tensorflow-from-within-slicer-python-interactor-causes-crash/8054)

<div class="topic-metadata">

**Author:** [@gaoyi](https://discourse.slicer.org/u/gaoyi)\
**Replies:** 7\
**Last updated:** [October 19, 2019, 3:13am UTC](https://discourse.slicer.org/t/import-tensorflow-from-within-slicer-python-interactor-causes-crash/8054 "2019-10-19T03:13:17Z")

</div>

Hi All, I build Slicer from trunk and pip\_install(“tensorflow”) from python interactor within Slicer (Ctrl + 3). Seems to be successful. Then I “import tensorflow”，but this crashes Slicer without detailed error message…

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

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