# GDML composition of rotations

**URL:** <https://geant4-forum.web.cern.ch/t/gdml-composition-of-rotations/10549>\
**Category:** Geometry, Fields and Transportation\
**Created:** [May 10, 2023, 9:02pm UTC](https://geant4-forum.web.cern.ch/t/gdml-composition-of-rotations/10549 "2023-05-10T21:02:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomerikhaugen](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/tomerikhaugen/32/6500_2.png) [@tomerikhaugen](https://geant4-forum.web.cern.ch/u/tomerikhaugen)\
**Post date:** [May 10, 2023, 9:02pm UTC](https://geant4-forum.web.cern.ch/t/gdml-composition-of-rotations/10549/1 "2023-05-10T21:02:40Z")

</div>

Hello,

Is there any way in GDML to combine two rotation objects into a new single rotation object (to then be given to a physical volume placement)? This would greatly simplify placements of many detectors (especially when using loops).

This is more or less straightforward in Geant4, but I can’t find any way to do it in GDML.

Similarly, is there a way to apply a rotation object to a vector and get a new vector (within GDML)?

Thank you
