# Development

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

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

**Page:** 46

---

## [How to get the masterVolumeNode from the dicom series](https://discourse.slicer.org/t/how-to-get-the-mastervolumenode-from-the-dicom-series/26110)

<div class="topic-metadata">

**Author:** [@user\_ghost](https://discourse.slicer.org/u/user_ghost)\
**Replies:** 2\
**Last updated:** [November 17, 2022, 5:23am UTC](https://discourse.slicer.org/t/how-to-get-the-mastervolumenode-from-the-dicom-series/26110 "2022-11-17T05:23:21Z")

</div>

hello every teachers: I used python code to load the ct dicom files, then i want to get the masterVolumeNode from the dicom file , the load dicom files as followes: def loadCtData(): dicomDataDir = "D:/xgx/newdic…

---

## [HTML code gets corrupted in language translation files](https://discourse.slicer.org/t/html-code-gets-corrupted-in-language-translation-files/26187)

<div class="topic-metadata">

**Author:** [@Aki](https://discourse.slicer.org/u/Aki)\
**Replies:** 3\
**Last updated:** [November 15, 2022, 9:46am UTC](https://discourse.slicer.org/t/html-code-gets-corrupted-in-language-translation-files/26187 "2022-11-15T09:46:53Z")

</div>

hello, lassoan, I have completed the translation of the strings for Japanese. But, I found that some HTML tags disappear after saving the translation. Some strings including HTML tags, and the tags and parameter value…

---

## [Python wrappers for a templated class derived from vtkMRMLNode](https://discourse.slicer.org/t/python-wrappers-for-a-templated-class-derived-from-vtkmrmlnode/26238)

<div class="topic-metadata">

**Author:** [@adeguet1](https://discourse.slicer.org/u/adeguet1)\
**Replies:** 1\
**Last updated:** [November 14, 2022, 8:50pm UTC](https://discourse.slicer.org/t/python-wrappers-for-a-templated-class-derived-from-vtkmrmlnode/26238 "2022-11-14T20:50:13Z")

</div>

Hello, I’m trying to figure out if I can use C++ templates for a vtkMRMLNode. My current implementation has the following classes (pseudo-code): /// generic base class so I can have containers of all my nodes class vt…

---

## [AttributeError: 'NoneType' object has no attribute 'SetAndObserveTransformNodeID'](https://discourse.slicer.org/t/attributeerror-nonetype-object-has-no-attribute-setandobservetransformnodeid/26212)

<div class="topic-metadata">

**Author:** [@hourglassnam](https://discourse.slicer.org/u/hourglassnam)\
**Replies:** 1\
**Last updated:** [November 13, 2022, 2:59pm UTC](https://discourse.slicer.org/t/attributeerror-nonetype-object-has-no-attribute-setandobservetransformnodeid/26212 "2022-11-13T14:59:26Z")

</div>

Dear community, First of all, thank you always for helping! I had been trying to modify the onPrincipalAxes() of the SegmentGeometry module to fit my use. def troubleGetName(selectedSeg): sourceNode = slicer.mrmlScen…

---

## [How to load dicom into volumes from a folder?](https://discourse.slicer.org/t/how-to-load-dicom-into-volumes-from-a-folder/26191)

<div class="topic-metadata">

**Author:** [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Replies:** 5\
**Last updated:** [November 13, 2022, 2:59am UTC](https://discourse.slicer.org/t/how-to-load-dicom-into-volumes-from-a-folder/26191 "2022-11-13T02:59:07Z")

</div>

i use the script in the document below and it has the error

---

## [Contributing an extension](https://discourse.slicer.org/t/contributing-an-extension/26195)

<div class="topic-metadata">

**Author:** [@kkeijzer](https://discourse.slicer.org/u/kkeijzer)\
**Replies:** 4\
**Last updated:** [November 11, 2022, 2:48pm UTC](https://discourse.slicer.org/t/contributing-an-extension/26195 "2022-11-11T14:48:47Z")

</div>

Hello! I’ve created a pull request for my extension, but I was wondering what is the average time untill the extension can be available in the extension manager?

---

## [Low Refresh Rate When Adding Model Using OpenIGTLink](https://discourse.slicer.org/t/low-refresh-rate-when-adding-model-using-openigtlink/25755)

<div class="topic-metadata">

**Author:** [@Jack\_Zhang](https://discourse.slicer.org/u/Jack_Zhang)\
**Replies:** 10\
**Last updated:** [November 10, 2022, 4:06pm UTC](https://discourse.slicer.org/t/low-refresh-rate-when-adding-model-using-openigtlink/25755 "2022-11-10T16:06:49Z")

</div>

I’m currently using the code below to feed Slicer some “dummy data” to visualize. The shape is a line connecting two randomly selected points. I’m doing this just so I can familiarize myself with how to do this with C++ …

---

## [Wrap Solidify: How can I choose "split cavities"?](https://discourse.slicer.org/t/wrap-solidify-how-can-i-choose-split-cavities/26231)

<div class="topic-metadata">

**Author:** [@Alessia\_Giorgi](https://discourse.slicer.org/u/Alessia_Giorgi)\
**Replies:** 8\
**Last updated:** [November 21, 2022, 8:38pm UTC](https://discourse.slicer.org/t/wrap-solidify-how-can-i-choose-split-cavities/26231 "2022-11-21T20:38:00Z")

</div>

Hi everyone, I’m a biomedical engineer and I’m following a project on craniostenosis. I’d like to share with you a doubt. I hope someone can help me. In order to evaluate the intracranial volume, I’m using Wrap Solidi…

---

## [An extension for virtual endoscopy](https://discourse.slicer.org/t/an-extension-for-virtual-endoscopy/23212)

<div class="topic-metadata">

**Author:** [@gaoyi.cn](https://discourse.slicer.org/u/gaoyi.cn)\
**Replies:** 19\
**Last updated:** [November 8, 2022, 1:47pm UTC](https://discourse.slicer.org/t/an-extension-for-virtual-endoscopy/23212 "2022-11-08T13:47:00Z")

</div>

Dear All, We already have an Endoscopy module in Slicer. However that requires the lumen being already segmented. I have been working on a module which performs the centerline extraction followed by lumen segmentation, …

---

## [Use orient scaler volume in python interactor for batch processing](https://discourse.slicer.org/t/use-orient-scaler-volume-in-python-interactor-for-batch-processing/26096)

<div class="topic-metadata">

**Author:** [@hourieh](https://discourse.slicer.org/u/hourieh)\
**Replies:** 3\
**Last updated:** [November 7, 2022, 12:49pm UTC](https://discourse.slicer.org/t/use-orient-scaler-volume-in-python-interactor-for-batch-processing/26096 "2022-11-07T12:49:17Z")

</div>

Operating system:windows Slicer version:5.0.3 Expected behavior:i want to orient my .nii volumes to axial dicom volumes in python code but I can not find any example of that. please help me! Actual behavior:

---

## [Embedding Segment Editor in Layout Crashes Slicer 5 Upon Reload](https://discourse.slicer.org/t/embedding-segment-editor-in-layout-crashes-slicer-5-upon-reload/26075)

<div class="topic-metadata">

**Author:** [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Replies:** 8\
**Last updated:** [November 6, 2022, 4:23pm UTC](https://discourse.slicer.org/t/embedding-segment-editor-in-layout-crashes-slicer-5-upon-reload/26075 "2022-11-06T16:23:30Z")

</div>

The scripted SlicerCIP “Calibration” module implements a reduced Slicer “Segment Editor” in its layout to define “Air” and “Blood” regions in lung CT. The startup works fine, but a script “Reload” in development mode ca…

---

## [How to remove NthDataNode from a vtkMRMLSequenceNode?](https://discourse.slicer.org/t/how-to-remove-nthdatanode-from-a-vtkmrmlsequencenode/26083)

<div class="topic-metadata">

**Author:** [@sunshine](https://discourse.slicer.org/u/sunshine)\
**Replies:** 2\
**Last updated:** [November 6, 2022, 3:14pm UTC](https://discourse.slicer.org/t/how-to-remove-nthdatanode-from-a-vtkmrmlsequencenode/26083 "2022-11-06T15:14:13Z")

</div>

Hi everyone, I am working on the scripted module development, trying to edit the vtkMRMLSequenceNode. However, did not find any functions like RemoveNthDataNode(). How could I remove the NthDataNode? Thank you very m…

---

## [Slicer EasyBuild config file](https://discourse.slicer.org/t/slicer-easybuild-config-file/26070)

<div class="topic-metadata">

**Author:** [@mikhail\_tolmachev](https://discourse.slicer.org/u/mikhail_tolmachev)\
**Replies:** 0\
**Last updated:** [November 4, 2022, 2:23pm UTC](https://discourse.slicer.org/t/slicer-easybuild-config-file/26070 "2022-11-04T14:23:13Z")

</div>

Does anyone build Slicer on HPC using EasyBuild and can share config file ?

---

## [About 3d views and diocm](https://discourse.slicer.org/t/about-3d-views-and-diocm/25979)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.slicer.org/u/miniminic)\
**Replies:** 2\
**Last updated:** [November 4, 2022, 11:39am UTC](https://discourse.slicer.org/t/about-3d-views-and-diocm/25979 "2022-11-04T11:39:43Z")

</div>

I don’t know what I accidentally changed, but when I added a scene and showed dicom, it was translucent like this… Another question, I want to hide this purple box that wraps the model, is there a way to hide it

---

## [Deploying your MONAI machine learning models within 3D Slicer](https://discourse.slicer.org/t/deploying-your-monai-machine-learning-models-within-3d-slicer/25999)

<div class="topic-metadata">

**Author:** [@Andinet\_Enquobahrie](https://discourse.slicer.org/u/Andinet_Enquobahrie)\
**Replies:** 0\
**Last updated:** [November 1, 2022, 10:56am UTC](https://discourse.slicer.org/t/deploying-your-monai-machine-learning-models-within-3d-slicer/25999 "2022-11-01T10:56:04Z")

</div>

Hi, We wrote a blog to share our preliminary experience experimenting with different options available to deploy monai models within 3D Slicer. https://www.kitware.com/deploying-your-monai-machine-learning-model-within…

---

## [I want to replace the human in the 3d view with another model](https://discourse.slicer.org/t/i-want-to-replace-the-human-in-the-3d-view-with-another-model/25980)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.slicer.org/u/miniminic)\
**Replies:** 2\
**Last updated:** [November 1, 2022, 3:15am UTC](https://discourse.slicer.org/t/i-want-to-replace-the-human-in-the-3d-view-with-another-model/25980 "2022-11-01T03:15:57Z")

</div>

Does anyone know where this model is. thanks

---

## [Show/hide output model in Python script](https://discourse.slicer.org/t/show-hide-output-model-in-python-script/25988)

<div class="topic-metadata">

**Author:** [@seanchoi0519](https://discourse.slicer.org/u/seanchoi0519)\
**Replies:** 1\
**Last updated:** [October 31, 2022, 7:32pm UTC](https://discourse.slicer.org/t/show-hide-output-model-in-python-script/25988 "2022-10-31T19:32:20Z")

</div>

Hi, I’m trying to implement a function where the user is able to show and hide the output model compared to the input model. For example, when a user presses 1, the input model (before the effect of the dynamicModel) sh…

---

## [Your work tree has not been configured for Slicer development](https://discourse.slicer.org/t/your-work-tree-has-not-been-configured-for-slicer-development/25975)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.slicer.org/u/miniminic)\
**Replies:** 2\
**Last updated:** [October 31, 2022, 9:20am UTC](https://discourse.slicer.org/t/your-work-tree-has-not-been-configured-for-slicer-development/25975 "2022-10-31T09:20:28Z")

</div>

I get this message when I commit my changes to my github repository.

---

## [SlicerVR in Ubuntu](https://discourse.slicer.org/t/slicervr-in-ubuntu/25960)

<div class="topic-metadata">

**Author:** [@Mauricio\_Cespedes](https://discourse.slicer.org/u/Mauricio_Cespedes)\
**Replies:** 1\
**Last updated:** [October 30, 2022, 12:33pm UTC](https://discourse.slicer.org/t/slicervr-in-ubuntu/25960 "2022-10-30T12:33:35Z")

</div>

Operating system: Ubuntu 20.04 Slicer version: 5.1 Expected behavior: SlicerVR module is loaded properly Actual behavior: I can’t load SlicerVR Hi, I’m currently trying to build and load SlicerVR from source code in…

---

## [How to disable automatic logging into the Python Interactor?](https://discourse.slicer.org/t/how-to-disable-automatic-logging-into-the-python-interactor/23734)

<div class="topic-metadata">

**Author:** [@CsatiZoltan](https://discourse.slicer.org/u/CsatiZoltan)\
**Replies:** 5\
**Last updated:** [October 28, 2022, 9:19pm UTC](https://discourse.slicer.org/t/how-to-disable-automatic-logging-into-the-python-interactor/23734 "2022-10-28T21:19:23Z")

</div>

My intention is to log into a file in great detail and verbose formatting (timestamp, logger name, etc.). log into the Python Interactor in less verbose mode (less verbose formatting, only higher logging levels, etc.). …

---

## [Extension stopped working in Slicer 5](https://discourse.slicer.org/t/extension-stopped-working-in-slicer-5/25943)

<div class="topic-metadata">

**Author:** [@koeglfryderyk](https://discourse.slicer.org/u/koeglfryderyk)\
**Replies:** 1\
**Last updated:** [October 27, 2022, 10:24pm UTC](https://discourse.slicer.org/t/extension-stopped-working-in-slicer-5/25943 "2022-10-27T22:24:27Z")

</div>

My extension MRUSLandmarking stopped working when Slicer 5 was introduced. It works when I add it ‘locally’ through Extension Wizard → Select Extension, however, when it is installed through the Extension Manager it can…

---

## [Python script using 3dSlicer functions.](https://discourse.slicer.org/t/python-script-using-3dslicer-functions/25939)

<div class="topic-metadata">

**Author:** [@lucas\_sd](https://discourse.slicer.org/u/lucas_sd)\
**Replies:** 1\
**Last updated:** [October 27, 2022, 7:26pm UTC](https://discourse.slicer.org/t/python-script-using-3dslicer-functions/25939 "2022-10-27T19:26:49Z")

</div>

Hi there, I’m new using 3dslicer, and I wonder if I can work in python, put in same folder of the file some extensions and call them like functions. Its possible that? I need to obtain the center line of a volume and I…

---

## [How to check if volume is visible withing 3D Viewer](https://discourse.slicer.org/t/how-to-check-if-volume-is-visible-withing-3d-viewer/25937)

<div class="topic-metadata">

**Author:** [@hannahm](https://discourse.slicer.org/u/hannahm)\
**Replies:** 0\
**Last updated:** [October 27, 2022, 5:00pm UTC](https://discourse.slicer.org/t/how-to-check-if-volume-is-visible-withing-3d-viewer/25937 "2022-10-27T17:00:14Z")

</div>

In my custom app, I’ve run into a problem where even if a user has set something as visible, it isnt being shown within the 3D viewer. To remedy this, I’m trying to find whether a volume is currently visible within the 3…

---

## [How to set up Slicer to be built with local dependencies](https://discourse.slicer.org/t/how-to-set-up-slicer-to-be-built-with-local-dependencies/25886)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.slicer.org/u/miniminic)\
**Replies:** 7\
**Last updated:** [October 27, 2022, 6:18am UTC](https://discourse.slicer.org/t/how-to-set-up-slicer-to-be-built-with-local-dependencies/25886 "2022-10-27T06:18:24Z")

</div>

When building, Slicer needs to download various dependencies like ctk,itk,vtk from links. If I download these dependencies locally beforehand and I want slicer to compile with local dependencies, how should I set them? t…

---

## [How to make slicer compile using local ctk, itk, vtk](https://discourse.slicer.org/t/how-to-make-slicer-compile-using-local-ctk-itk-vtk/25906)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.slicer.org/u/miniminic)\
**Replies:** 3\
**Last updated:** [October 27, 2022, 6:17am UTC](https://discourse.slicer.org/t/how-to-make-slicer-compile-using-local-ctk-itk-vtk/25906 "2022-10-27T06:17:53Z")

</div>

For example, I modified ctk to implement the control style I wanted, but slicer was first compiled by downloading the latest ctk from the web. How do I get slicer to use the local ctk.

---

## [Registration discussion](https://discourse.slicer.org/t/registration-discussion/25894)

<div class="topic-metadata">

**Author:** [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Replies:** 8\
**Last updated:** [October 27, 2022, 3:23am UTC](https://discourse.slicer.org/t/registration-discussion/25894 "2022-10-27T03:23:41Z")

</div>

I’ve watched the demonstration of the BrainLab Elements and Medtronic Stealth software. Their registration methods are so amazing that can finish the registration in about 5~8 seconds and the registration result is very …

---

## [How to make a ctkAxesWidget transparent](https://discourse.slicer.org/t/how-to-make-a-ctkaxeswidget-transparent/25887)

<div class="topic-metadata">

**Author:** [@miniminic](https://discourse.slicer.org/u/miniminic)\
**Replies:** 0\
**Last updated:** [October 25, 2022, 6:12am UTC](https://discourse.slicer.org/t/how-to-make-a-ctkaxeswidget-transparent/25887 "2022-10-25T06:12:43Z")

</div>

---

## [3DView LinkedControlOn/Off behavior issue](https://discourse.slicer.org/t/3dview-linkedcontrolon-off-behavior-issue/25884)

<div class="topic-metadata">

**Author:** [@Long\_Zhang](https://discourse.slicer.org/u/Long_Zhang)\
**Replies:** 5\
**Last updated:** [October 25, 2022, 4:15am UTC](https://discourse.slicer.org/t/3dview-linkedcontrolon-off-behavior-issue/25884 "2022-10-25T04:15:31Z")

</div>

I am rendering two (different) volumes in two 3DView using python in an extension module. Each volume was configured with its own camera settings. My intended behavior is the two 3DView has a linked behavior, e.g. the s…

---

## [Bugs with model convert to segment](https://discourse.slicer.org/t/bugs-with-model-convert-to-segment/25834)

<div class="topic-metadata">

**Author:** [@jay1987](https://discourse.slicer.org/u/jay1987)\
**Replies:** 4\
**Last updated:** [October 25, 2022, 3:26am UTC](https://discourse.slicer.org/t/bugs-with-model-convert-to-segment/25834 "2022-10-25T03:26:35Z")

</div>

i found a model below when i change use command tool button \[Convert model to segmentation node\] i convert the model to segment,it’s well displayed with both model and segmentations then i save the scene as .mrb fi…

---

## [Automate extract centerline with unconnected segment](https://discourse.slicer.org/t/automate-extract-centerline-with-unconnected-segment/25851)

<div class="topic-metadata">

**Author:** [@hbr](https://discourse.slicer.org/u/hbr)\
**Replies:** 4\
**Last updated:** [October 24, 2022, 4:12pm UTC](https://discourse.slicer.org/t/automate-extract-centerline-with-unconnected-segment/25851 "2022-10-24T16:12:46Z")

</div>

Hi. I wanna extract center line of a segmentation that is unconnected. I have a script that do it automatically but when get this segmentation just extract center line partly not all. Do anybody have a solution for …

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

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