# Measurenents and Point List are not connected.

**URL:** <https://discourse.slicer.org/t/measurenents-and-point-list-are-not-connected/33041>\
**Category:** Support\
**Created:** [November 26, 2023, 5:38pm UTC](https://discourse.slicer.org/t/measurenents-and-point-list-are-not-connected/33041 "2023-11-26T17:38:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikolay\_dmitriyev](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/nikolay_dmitriyev/32/5850_2.png) [@nikolay\_dmitriyev](https://discourse.slicer.org/u/nikolay_dmitriyev)\
**Post date:** [November 26, 2023, 5:38pm UTC](https://discourse.slicer.org/t/measurenents-and-point-list-are-not-connected/33041/1 "2023-11-26T17:38:54Z")

</div>

Hi!  
Dear freinds and colegs,  
How can I create a Pointlist and connected measurements -the line list? To be able to move points (from this list) and measurements changed automatically. Now, when you copy two points from the Point List to the Line - it is ok. But two new points with the line have been created, without names, and if you move the point from the list - the line is not changing.  
I will be sincerely grateful for an answer, or a link where to look.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [November 26, 2023, 6:36pm UTC](https://discourse.slicer.org/t/measurenents-and-point-list-are-not-connected/33041/2 "2023-11-26T18:36:00Z")

</div>

Why aren’t you directly manipulating the control points of the lines? That will give you what you want.

---

<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:** [November 27, 2023, 7:12am UTC](https://discourse.slicer.org/t/measurenents-and-point-list-are-not-connected/33041/3 "2023-11-27T07:12:47Z")

</div>

If using line markups does not work (e.g., you want to add many measurements between a set of points) then you can specify a keyboard shortcut that adds or updates all the measurements at once - see [Script repository — 3D Slicer documentation](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#pre-populate-the-scene-with-measurements)

Alternatively, you can add an observer that is called whenever you modify a point and automatically updates all the lines from the input points. See the [PerkLab bootcamp Slicer programming tutorial](https://slicer.readthedocs.io/en/latest/developer_guide/api.html#tutorials) for detailed example.

---

<div class="post-metadata">

**Author:** ![nikolay\_dmitriyev](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/nikolay_dmitriyev/32/5850_2.png) [@nikolay\_dmitriyev](https://discourse.slicer.org/u/nikolay_dmitriyev)\
**Post date:** [November 27, 2023, 9:35pm UTC](https://discourse.slicer.org/t/measurenents-and-point-list-are-not-connected/33041/4 "2023-11-27T21:35:53Z")

</div>

I need measurement of many equal structures. I created a list of 15 landmarks. But measurements should be 25 linear and 10 angular (for example). It will be very convenient to put one-time points and write lines and angles one time, which will be automatically calculated.  
For any new measurement, you only need to move or put this list of points.  
If you open old measurements - you can check the points’ position and if you change the position of one point all connected measurements will be recalculated.

---

<div class="post-metadata">

**Author:** ![nikolay\_dmitriyev](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/nikolay_dmitriyev/32/5850_2.png) [@nikolay\_dmitriyev](https://discourse.slicer.org/u/nikolay_dmitriyev)\
**Post date:** [November 27, 2023, 9:39pm UTC](https://discourse.slicer.org/t/measurenents-and-point-list-are-not-connected/33041/5 "2023-11-27T21:39:19Z")

</div>

Thank you. I will try! But I hoped (feel) that should be an easier solution.

---

<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:** [November 27, 2023, 10:39pm UTC](https://discourse.slicer.org/t/measurenents-and-point-list-are-not-connected/33041/6 "2023-11-27T22:39:47Z")

</div>

It should be all very easy, especially because bing chat or chatgpt should be able to generate all the Python code. You just need to describe in your own words what you want to measure and you get the code that you can copy-paste into the Python console. If there is some error then you can tell that to the chaybot and it will fix the code. It is not guaranteed that you don’t have to do any thinking, but the chances are quite good. If you get stuck then let us know and we can help (copy your prompts and the resulting code here, along with any error message).
