# Latest

**URL:** https://discourse.slicer.org/latest.md?page=208

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

**Page:** 209

---

## [Strange attribute error](https://discourse.slicer.org/t/strange-attribute-error/30453)

<div class="topic-metadata">

**Author:** [@Patrick\_Li](https://discourse.slicer.org/u/Patrick_Li)\
**Replies:** 1\
**Last updated:** [July 8, 2023, 4:02am UTC](https://discourse.slicer.org/t/strange-attribute-error/30453 "2023-07-08T04:02:36Z")

</div>

When testing out the WriteXML() function, I keep getting this error. It seems the node type name is too long, or something like that. Any way to resolve?

---

## [Load additional packages in Extension](https://discourse.slicer.org/t/load-additional-packages-in-extension/30460)

<div class="topic-metadata">

**Author:** [@haphantran](https://discourse.slicer.org/u/haphantran)\
**Replies:** 0\
**Last updated:** [July 8, 2023, 2:10am UTC](https://discourse.slicer.org/t/load-additional-packages-in-extension/30460 "2023-07-08T02:10:35Z")

</div>

Hi guys, We’re trying to build an extension and want to use Pandas package in the extension. How should we include the packages (like normal python app we have requirements.txt)? Thank you, Ha Phan.

---

## [Getting string message from a running python CLI module](https://discourse.slicer.org/t/getting-string-message-from-a-running-python-cli-module/30455)

<div class="topic-metadata">

**Author:** [@bywbilly](https://discourse.slicer.org/u/bywbilly)\
**Replies:** 0\
**Last updated:** [July 7, 2023, 5:31pm UTC](https://discourse.slicer.org/t/getting-string-message-from-a-running-python-cli-module/30455 "2023-07-07T17:31:44Z")

</div>

Hi Slicer Community, I have developed a Python CLI module to make the most time-consuming part run in the backend. I can use the XML syntax to get its progress. However, I also want to get some string information (e.g.,…

---

## [Multiple node export now supported](https://discourse.slicer.org/t/multiple-node-export-now-supported/21681)

<div class="topic-metadata">

**Author:** [@ebrahim](https://discourse.slicer.org/u/ebrahim)\
**Replies:** 3\
**Last updated:** [July 7, 2023, 4:25pm UTC](https://discourse.slicer.org/t/multiple-node-export-now-supported/21681 "2023-07-07T16:25:25Z")

</div>

This is a follow up on New export functionality Exporting multiple nodes is now supported. Right click on a node in the data subject hierarchy, and you should see “Export as…” show up if the clicked node can be exported…

---

## [Load vtp files in slicer](https://discourse.slicer.org/t/load-vtp-files-in-slicer/30442)

<div class="topic-metadata">

**Author:** [@Kening\_Zhang](https://discourse.slicer.org/u/Kening_Zhang)\
**Replies:** 1\
**Last updated:** [July 7, 2023, 1:48pm UTC](https://discourse.slicer.org/t/load-vtp-files-in-slicer/30442 "2023-07-07T13:48:19Z")

</div>

Dear developers, I want to load the output vtp files generated back to slicer, the code I write is as following: #Load the generated anatomical tracts back into Slicer for file\_name in os.listdir(AnatomicalTractsFolde…

---

## [Path of slicer app](https://discourse.slicer.org/t/path-of-slicer-app/30398)

<div class="topic-metadata">

**Author:** [@Kening\_Zhang](https://discourse.slicer.org/u/Kening_Zhang)\
**Replies:** 6\
**Last updated:** [July 7, 2023, 1:37pm UTC](https://discourse.slicer.org/t/path-of-slicer-app/30398 "2023-07-07T13:37:58Z")

</div>

Dear developer, I want to design a package which need the path of the slicer installed on user’s computer, is there some command that can find the path of the slicer location automatically? Best wishes, Joshua

---

## [Pixel larger than the output type](https://discourse.slicer.org/t/pixel-larger-than-the-output-type/30417)

<div class="topic-metadata">

**Author:** [@Sakuranezumi](https://discourse.slicer.org/u/Sakuranezumi)\
**Replies:** 9\
**Last updated:** [July 7, 2023, 11:35am UTC](https://discourse.slicer.org/t/pixel-larger-than-the-output-type/30417 "2023-07-07T11:35:58Z")

</div>

Hi manager, the Dicom images downloaded from the pacs always shows the “pixel larger than the output tpye” and with the information “could not load xxx as Scalar volume”.The dicom reader was setted to be GDCM approach.I …

---

## [How to convert vtkPoints to numpy?](https://discourse.slicer.org/t/how-to-convert-vtkpoints-to-numpy/30445)

<div class="topic-metadata">

**Author:** [@wrc](https://discourse.slicer.org/u/wrc)\
**Replies:** 1\
**Last updated:** [July 7, 2023, 8:55am UTC](https://discourse.slicer.org/t/how-to-convert-vtkpoints-to-numpy/30445 "2023-07-07T08:55:19Z")

</div>

Hello, I want to convert vtkPoints to numpy. I used vtk.util.numpy\_support.vtk\_to\_numpy(vtkPoints) But I got File "/Applications/Slicer.app/Contents/bin/Python/vtkmodules/util/numpy\_support.py", line 220, in vtk\_to\_…

---

## [Information about how to perform segmentation of CT in presence of pacemaker](https://discourse.slicer.org/t/information-about-how-to-perform-segmentation-of-ct-in-presence-of-pacemaker/30444)

<div class="topic-metadata">

**Author:** [@Caterina](https://discourse.slicer.org/u/Caterina)\
**Replies:** 0\
**Last updated:** [July 7, 2023, 7:45am UTC](https://discourse.slicer.org/t/information-about-how-to-perform-segmentation-of-ct-in-presence-of-pacemaker/30444 "2023-07-07T07:45:19Z")

</div>

Dear support, I need to create a segmentation of thoracic tac in which a cardiac device (cardiac pacemaker) is placed. I performed total segmentation with TotalSegmentation Extension but I obtained only the specific an…

---

## [Grow from seeds function produces wrong data](https://discourse.slicer.org/t/grow-from-seeds-function-produces-wrong-data/30329)

<div class="topic-metadata">

**Author:** [@LavaBunny](https://discourse.slicer.org/u/LavaBunny)\
**Replies:** 13\
**Last updated:** [July 6, 2023, 6:39pm UTC](https://discourse.slicer.org/t/grow-from-seeds-function-produces-wrong-data/30329 "2023-07-06T18:39:19Z")

</div>

This image shows the segmentations I have drawn. However, after I grow from seeds, it gives me something completely wrong. What am I doing wrong here?

---

## [Odd behavior while painting segment](https://discourse.slicer.org/t/odd-behavior-while-painting-segment/30437)

<div class="topic-metadata">

**Author:** [@Julien\_D](https://discourse.slicer.org/u/Julien_D)\
**Replies:** 2\
**Last updated:** [July 6, 2023, 8:59pm UTC](https://discourse.slicer.org/t/odd-behavior-while-painting-segment/30437 "2023-07-06T20:59:09Z")

</div>

Hi all, When painting a segment, there’s an odd behavior from the brush. It’s like it’s missing spots (see picture below). I have no threshold applied and the following settings. Restarting Slicer didn’t solve it. It’s …

---

## [Show intersection between plane and segmentation and measure max diameter](https://discourse.slicer.org/t/show-intersection-between-plane-and-segmentation-and-measure-max-diameter/30430)

<div class="topic-metadata">

**Author:** [@Birnie](https://discourse.slicer.org/u/Birnie)\
**Replies:** 2\
**Last updated:** [July 6, 2023, 6:46pm UTC](https://discourse.slicer.org/t/show-intersection-between-plane-and-segmentation-and-measure-max-diameter/30430 "2023-07-06T18:46:28Z")

</div>

Hi there! For my project I’m working in 3D slicer. I have made a segmentation of a dissected aorta. This segmentation contains a segmentation of the true lumen, false lumen and the both lumina combined. In addition I …

---

## [Segmentation Painting creating triangular artifacts](https://discourse.slicer.org/t/segmentation-painting-creating-triangular-artifacts/30397)

<div class="topic-metadata">

**Author:** [@kaylaquest](https://discourse.slicer.org/u/kaylaquest)\
**Replies:** 3\
**Last updated:** [July 6, 2023, 4:18pm UTC](https://discourse.slicer.org/t/segmentation-painting-creating-triangular-artifacts/30397 "2023-07-06T16:18:21Z")

</div>

Hi everyone! First time posting here, so apologies if this is unclear, I can provide extra details if needed, but I am currently working on my first big project in slicer segmenting cephalic glands in snake heads. The an…

---

## [Slicer.org is down - invalid certification date](https://discourse.slicer.org/t/slicer-org-is-down-invalid-certification-date/28747)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Replies:** 16\
**Last updated:** [July 6, 2023, 3:51pm UTC](https://discourse.slicer.org/t/slicer-org-is-down-invalid-certification-date/28747 "2023-07-06T15:51:57Z")

</div>

Starting this morning, slicer.org is no longer accessible. It shows this error: Even if I click on “Advanced”, I just get some more details: www.slicer.org uses encryption to protect your information. When Microsof…

---

## [Delete a package](https://discourse.slicer.org/t/delete-a-package/30432)

<div class="topic-metadata">

**Author:** [@Kening\_Zhang](https://discourse.slicer.org/u/Kening_Zhang)\
**Replies:** 4\
**Last updated:** [July 6, 2023, 3:04pm UTC](https://discourse.slicer.org/t/delete-a-package/30432 "2023-07-06T15:04:51Z")

</div>

Dear developers, I want to know how to uninstall a package from the slicer’s python, since I have tried many ways but not work. Best wishes, Joshua

---

## [Slicer FiberTractMeasurements unable to find libSlicerBaseLogic](https://discourse.slicer.org/t/slicer-fibertractmeasurements-unable-to-find-libslicerbaselogic/30357)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.slicer.org/u/jhlegarreta)\
**Replies:** 11\
**Last updated:** [July 6, 2023, 2:35pm UTC](https://discourse.slicer.org/t/slicer-fibertractmeasurements-unable-to-find-libslicerbaselogic/30357 "2023-07-06T14:35:33Z")

</div>

Hi, I am trying to run WMA on a given dataset. The process runs fine until the moment where the FiberTractMeasurements module in Slicer is called. The tool writes the following to the std output: \<wm\_apply\_ORG\_atlas\_to…

---

## [Path of data added to slicer](https://discourse.slicer.org/t/path-of-data-added-to-slicer/30425)

<div class="topic-metadata">

**Author:** [@Kening\_Zhang](https://discourse.slicer.org/u/Kening_Zhang)\
**Replies:** 2\
**Last updated:** [July 6, 2023, 1:27pm UTC](https://discourse.slicer.org/t/path-of-data-added-to-slicer/30425 "2023-07-06T13:27:13Z")

</div>

Dear developer, I only find the command about the path of files of DICOM, how can I find the path of data added to slicer, by the way, I also want to know the command of loaded the generated anatomical tracts into the …

---

## [How to fetch dicom file as next sample in MONAI Label extension in 3D Slicer](https://discourse.slicer.org/t/how-to-fetch-dicom-file-as-next-sample-in-monai-label-extension-in-3d-slicer/30131)

<div class="topic-metadata">

**Author:** [@Arpan\_Gyawali](https://discourse.slicer.org/u/Arpan_Gyawali)\
**Replies:** 3\
**Last updated:** [July 6, 2023, 8:46am UTC](https://discourse.slicer.org/t/how-to-fetch-dicom-file-as-next-sample-in-monai-label-extension-in-3d-slicer/30131 "2023-07-06T08:46:45Z")

</div>

Hello, I have a brain CTA dataset for the task of brain extraction. The dataset contains both nifty as well as dicom format data. I have fetched all the nifty file and trained them. But i am not able to fetch dicom file…

---

## [Lung Segmentation Algorithm](https://discourse.slicer.org/t/lung-segmentation-algorithm/30415)

<div class="topic-metadata">

**Author:** [@Nima\_Yousefi](https://discourse.slicer.org/u/Nima_Yousefi)\
**Replies:** 1\
**Last updated:** [July 6, 2023, 5:36am UTC](https://discourse.slicer.org/t/lung-segmentation-algorithm/30415 "2023-07-06T05:36:27Z")

</div>

Hi, I’m using 3D Slicer for Lung segmentation and I’ve done that using LungCtSegmenter. Can you tell me what algorithm is used for this task in slicer? @rbumm @lassoan Best Regards.

---

## [GUI Design in Slicer 5.x](https://discourse.slicer.org/t/gui-design-in-slicer-5-x/27380)

<div class="topic-metadata">

**Author:** [@MSK](https://discourse.slicer.org/u/MSK)\
**Replies:** 4\
**Last updated:** [June 11, 2023, 2:11pm UTC](https://discourse.slicer.org/t/gui-design-in-slicer-5-x/27380 "2023-06-11T14:11:15Z")

</div>

Despite not being very familiar to Slicer I am given the task of designing a custom GUI to ease the use of Slicer by physicians. I want this GUI to be run in Slicer 5.x. I read about Slicelets and my task is the exact de…

---

## [About release a python extension with a CLI module](https://discourse.slicer.org/t/about-release-a-python-extension-with-a-cli-module/30420)

<div class="topic-metadata">

**Author:** [@bywbilly](https://discourse.slicer.org/u/bywbilly)\
**Replies:** 0\
**Last updated:** [July 5, 2023, 9:49pm UTC](https://discourse.slicer.org/t/about-release-a-python-extension-with-a-cli-module/30420 "2023-07-05T21:49:01Z")

</div>

Hi 3D Slicer Community, We are developing a Python extension and plan to release it into the 3D slicer community. To make the main time-consuming part run in the backend, we create a CLI module following this repo: Git…

---

## [triggering main window exit when exiting from qdialog window](https://discourse.slicer.org/t/triggering-main-window-exit-when-exiting-from-qdialog-window/30373)

<div class="topic-metadata">

**Author:** [@pcg12131415](https://discourse.slicer.org/u/pcg12131415)\
**Replies:** 2\
**Last updated:** [July 5, 2023, 3:29pm UTC](https://discourse.slicer.org/t/triggering-main-window-exit-when-exiting-from-qdialog-window/30373 "2023-07-05T15:29:58Z")

</div>

Hi! I have a Slicer module that opens a different window (using QDialog) from the Slicer main one. I would like to connect the two of them in order to close Slicer when the second one gets closed. I saw I could overrid…

---

## [Changing Model Color and Opacity in a Model with Multiple vtk Sources](https://discourse.slicer.org/t/changing-model-color-and-opacity-in-a-model-with-multiple-vtk-sources/30411)

<div class="topic-metadata">

**Author:** [@rhodesdante](https://discourse.slicer.org/u/rhodesdante)\
**Replies:** 0\
**Last updated:** [July 5, 2023, 3:12pm UTC](https://discourse.slicer.org/t/changing-model-color-and-opacity-in-a-model-with-multiple-vtk-sources/30411 "2023-07-05T15:12:07Z")

</div>

I am trying to create models that have multiple distinct components using vtk’s appendFilter (shown in the example below). I would like to adjust the opacity and color of the different components separately. As a start, …

---

## [How can I save(export)dataset in dicom format(.dcm file)?](https://discourse.slicer.org/t/how-can-i-save-export-dataset-in-dicom-format-dcm-file/30409)

<div class="topic-metadata">

**Author:** [@Winnie\_Wanjiru](https://discourse.slicer.org/u/Winnie_Wanjiru)\
**Replies:** 0\
**Last updated:** [July 5, 2023, 3:04pm UTC](https://discourse.slicer.org/t/how-can-i-save-export-dataset-in-dicom-format-dcm-file/30409 "2023-07-05T15:04:22Z")

</div>

Operating system: Slicer version: Expected behavior: Actual behavior:

---

## [Registration CT images with Ants Rregistration or Elastix](https://discourse.slicer.org/t/registration-ct-images-with-ants-rregistration-or-elastix/30408)

<div class="topic-metadata">

**Author:** [@Chiararp](https://discourse.slicer.org/u/Chiararp)\
**Replies:** 0\
**Last updated:** [July 5, 2023, 3:04pm UTC](https://discourse.slicer.org/t/registration-ct-images-with-ants-rregistration-or-elastix/30408 "2023-07-05T15:04:20Z")

</div>

Hi everyone, I have a problem with the registration of two abdominal CT scans. In particular, the two cases have different sizes and different characteristics that I show below. My goal is to accurately register the…

---

## [How to acquire X-ray images from C-arm?](https://discourse.slicer.org/t/how-to-acquire-x-ray-images-from-c-arm/30393)

<div class="topic-metadata">

**Author:** [@palani\_narayanan](https://discourse.slicer.org/u/palani_narayanan)\
**Replies:** 2\
**Last updated:** [July 5, 2023, 12:51pm UTC](https://discourse.slicer.org/t/how-to-acquire-x-ray-images-from-c-arm/30393 "2023-07-05T12:51:29Z")

</div>

Hi…How to get c arm video as multiple x ray images frame by frame… How to extract video from c arm in a computer… please guide…ty

---

## [I want to call api on close event of mainwindow](https://discourse.slicer.org/t/i-want-to-call-api-on-close-event-of-mainwindow/30387)

<div class="topic-metadata">

**Author:** [@ssv](https://discourse.slicer.org/u/ssv)\
**Replies:** 1\
**Last updated:** [July 5, 2023, 10:18am UTC](https://discourse.slicer.org/t/i-want-to-call-api-on-close-event-of-mainwindow/30387 "2023-07-05T10:18:31Z")

</div>

What i want is if multiple instance is opened only the last instance will call the delete machine api , right now what happen is if i closr the app it get the count of running instance in memory that will give me wrong …

---

## [Extract Centerlines Issue](https://discourse.slicer.org/t/extract-centerlines-issue/30402)

<div class="topic-metadata">

**Author:** [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)\
**Replies:** 0\
**Last updated:** [July 5, 2023, 8:26am UTC](https://discourse.slicer.org/t/extract-centerlines-issue/30402 "2023-07-05T08:26:29Z")

</div>

Hi to everyone, in this ocassion I come with a terrible issue in the extract centerlines module: When I do ‘Extract Centerlines’ with a selected Segment and the option ‘autodetect endpoints’ the module computes well an…

---

## [Use MarkupsROI to crop DICOM in coronal / sagittal view](https://discourse.slicer.org/t/use-markupsroi-to-crop-dicom-in-coronal-sagittal-view/30399)

<div class="topic-metadata">

**Author:** [@dhanushkannan](https://discourse.slicer.org/u/dhanushkannan)\
**Replies:** 0\
**Last updated:** [July 5, 2023, 3:28am UTC](https://discourse.slicer.org/t/use-markupsroi-to-crop-dicom-in-coronal-sagittal-view/30399 "2023-07-05T03:28:41Z")

</div>

Hi all, I have used MarkupsROI to crop DICOM images using Python. the following is the code which I have used for cropping based on ROI cropVolumeLogic = slicer.modules.cropvolume.logic() cropVolumeParameterNode = …

---

## [find cli-modules path](https://discourse.slicer.org/t/find-cli-modules-path/29999)

<div class="topic-metadata">

**Author:** [@Kening\_Zhang](https://discourse.slicer.org/u/Kening_Zhang)\
**Replies:** 1\
**Last updated:** [June 13, 2023, 11:41am UTC](https://discourse.slicer.org/t/find-cli-modules-path/29999 "2023-06-13T11:41:30Z")

</div>

FiberTractMeasurementsCLI = “/Applications/Slicer.app/Contents/Extensions-31382/SlicerDMRI/lib/Slicer-5.2/cli-modules/FiberTractMeasurements” This is the path I need to use in the later code, but for other users, the pa…

[Previous page](https://discourse.slicer.org/latest.md?page=207)

[Next page](https://discourse.slicer.org/latest.md?page=209)
