# Merging two modules

**URL:** https://discourse.slicer.org/t/merging-two-modules/16161
**Category:** Support
**Created:** [February 23, 2021, 3:58pm UTC](https://discourse.slicer.org/t/merging-two-modules/16161 "2021-02-23T15:58:19Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [February 23, 2021, 4:21pm UTC](https://discourse.slicer.org/t/merging-two-modules/16161/2 "2021-02-23T16:21:24Z")

</div>

> [@will\_kim](#):
>
> Hi rather new to Slicer and have two general questions. I have two scripted modules that share common information. So is there a way I can load this information for one module and it gets automatically uploads to the other script?

In general, modules share all data via the MRML scene and communicate via node modified events. You can also call another module’s logic objects, which is useful when one module uses algorithms implemented in the other. See more details in this tutorial: [https://github.com/PerkLab/PerkLabBootcamp/blob/master/Doc/day3\_2\_SlicerProgramming.pptx?raw=true](https://github.com/PerkLab/PerkLabBootcamp/blob/master/Doc/day3_2_SlicerProgramming.pptx?raw=true)

> [@will\_kim](#):
>
> Also, does Slicer have an extension or a method to measure the radius and give out the center-coordinates of the volume?

Yes, this is available in Segment Statistics module. See details here: [New Segment Statistics: Oriented Bounding Box, Diameter and More](https://discourse.slicer.org/t/new-segment-statistics-oriented-bounding-box-diameter-and-more/10203)

---

_[View the full topic](https://discourse.slicer.org/t/merging-two-modules/16161)._
