# Rotate template help

**URL:** <https://forum.inductiveautomation.com/t/rotate-template-help/87782>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [March 22, 2024, 10:53pm UTC](https://forum.inductiveautomation.com/t/rotate-template-help/87782 "2024-03-22T22:53:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Szilagyi](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@Michael\_Szilagyi](https://forum.inductiveautomation.com/u/Michael_Szilagyi)\
**Post date:** [March 22, 2024, 10:53pm UTC](https://forum.inductiveautomation.com/t/rotate-template-help/87782/1 "2024-03-22T22:53:28Z")

</div>

I've created a template for a conveyor. I can't seem to figure out how to then rotate that template. Not being able to rotate the template severely limits its use because I then must create a new template for every orientation of every conveyor. I also can't seem to dynamically modify the template size which prevents me from manually rotating the individual objects within the template.

Thanks for the help,  
Michael

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [March 22, 2024, 10:57pm UTC](https://forum.inductiveautomation.com/t/rotate-template-help/87782/2 "2024-03-22T22:57:16Z")

</div>

Welcome to the forum, Michael.  
Please edit your question and add either the Vision or Perspective tag (selection under the title). This will determine the answer.  
I'm guessing Vision due to your use of "template".

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [March 24, 2024, 12:19pm UTC](https://forum.inductiveautomation.com/t/rotate-template-help/87782/3 "2024-03-24T12:19:50Z")

</div>

This sort of thing is typically accomplished by adding a custom property to the template. Then, the items within the template can be manipulated by binding their priorities to the custom template property. Further manipulation is also possible at run time via scripting.

In your case, you will need to add a custom property to the template called rotation or angle, and then, simply figure out how to manipulate the internal objects using that custom template property.

---

<div class="post-metadata">

**Author:** ![Michael\_Szilagyi](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@Michael\_Szilagyi](https://forum.inductiveautomation.com/u/Michael_Szilagyi)\
**Post date:** [March 25, 2024, 6:00pm UTC](https://forum.inductiveautomation.com/t/rotate-template-help/87782/4 "2024-03-25T18:00:39Z")

</div>

That's not so simple though because rotating all the items in a template around a single central axis isn't that intuitive either, I still can't figure it out. Also if one of the items in the template is also a template it's still impossible.

Pretty sure I was able to do this 15 years ago in Wonderware Archestra, it made things much easier.

Even when I group objects that group can't be rotated. Does ignition have any kind of container which can be rotated?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 25, 2024, 6:17pm UTC](https://forum.inductiveautomation.com/t/rotate-template-help/87782/5 "2024-03-25T18:17:46Z")

</div>

_Vision_ doesn't support rotation well, because the backing technology, Java Swing, happened to make an optimization choice that largely precludes non-rectangular bounding boxes.

_Perspective_ supports rotation just fine, because of a different fundamental technology choice.

That aside, can you provide more information about what you're trying to rotate? A screenshot?

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [March 26, 2024, 1:18am UTC](https://forum.inductiveautomation.com/t/rotate-template-help/87782/6 "2024-03-26T01:18:03Z")

</div>

I do a lot of this sort of thing, but I understand that there is a learning curve. Unfortunately, you will need to provide more information about the types of objects that need to be moved, and how they need to be positioned within the template for me to assist further.

...or perhaps one of my previous [template manipulation posts](https://forum.inductiveautomation.com/search?q=template%20%40justinedwards.jle) will help you figure this out.

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [March 30, 2024, 5:54am UTC](https://forum.inductiveautomation.com/t/rotate-template-help/87782/7 "2024-03-30T05:54:23Z")

</div>

> [@paul-griffith](#):
>
> _Vision_ doesn't support rotation well, because the backing technology, Java Swing, happened to make an optimization choice that largely precludes non-rectangular bounding boxes

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/f/ef9302bd9c31b345ffd2057f57dfaa972cdb7175.jpeg)
