# Apply Transforms in only 1 segment

**URL:** <https://discourse.slicer.org/t/apply-transforms-in-only-1-segment/32804>\
**Category:** Support\
**Created:** [November 14, 2023, 10:13am UTC](https://discourse.slicer.org/t/apply-transforms-in-only-1-segment/32804 "2023-11-14T10:13:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SANTIAGO\_PENDON\_MING](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/santiago_pendon_ming/32/66060_2.png) [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)\
**Post date:** [November 14, 2023, 10:13am UTC](https://discourse.slicer.org/t/apply-transforms-in-only-1-segment/32804/1 "2023-11-14T10:13:38Z")

</div>

Hi to everyone 🙂

In this case I’m struggling with transformations and Segmentations. The problem is the following one:

-I’m trying to apply by code a linear transformation to a specific segment contained in a segmentation with more than one segment.

As far as I know, transforms module only allows apply transformations to segmentation nodes.

Can I transform only one segment?

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [November 14, 2023, 1:23pm UTC](https://discourse.slicer.org/t/apply-transforms-in-only-1-segment/32804/2 "2023-11-14T13:23:22Z")

</div>

> [@SANTIAGO\_PENDON\_MING](#):
>
> Can I transform only one segment?

No, you would need to move it to a new segmentation, apply the transform, and then move it back.
