# Cylindrical Tank Oil over Water

**URL:** <https://forum.inductiveautomation.com/t/cylindrical-tank-oil-over-water/61004>\
**Category:** Ignition\
**Tags:** vision, ignition81\
**Created:** [June 21, 2022, 1:06pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-oil-over-water/61004 "2022-06-21T13:06:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raymundo\_Villa](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@Raymundo\_Villa](https://forum.inductiveautomation.com/u/Raymundo_Villa)\
**Post date:** [June 21, 2022, 1:06pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-oil-over-water/61004/1 "2022-06-21T13:06:18Z")

</div>

Oil over Water using “cylindrical tank”, how to? Please

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [June 21, 2022, 1:09pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-oil-over-water/61004/2 "2022-06-21T13:09:45Z")

</div>

You need to be more specific than that. What are you trying to do ?

---

<div class="post-metadata">

**Author:** ![Raymundo\_Villa](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@Raymundo\_Villa](https://forum.inductiveautomation.com/u/Raymundo_Villa)\
**Post date:** [June 21, 2022, 2:47pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-oil-over-water/61004/3 "2022-06-21T14:47:33Z")

</div>

I am trying to use this component from the “Component Palette”, to show two variables one for oil and another one for water. I’ve tried using “Custom Properties” and “Style Customizer” but can’t figured out how to show two different levels, and making sure that the “Oil Level” will displayed on top of the “Water Level”.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/7/775c2320f139f78f9c0935961ef376ad689f4ccb.png)

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [June 21, 2022, 2:55pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-oil-over-water/61004/4 "2022-06-21T14:55:54Z")

</div>

That component doesn’t support showing two different levels.

You would need to layer two of the same component on top of the other, and then do some math in conjunction with transforming the components to make it work with that component. Not trivial.

Since this is vision you could also do this with shapes, which is undoubtedly easier and is probably the path that I would take here.

I suppose you could also do it with a paintable canvas. I guess it depends on how complex you want it to be.

---

<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:** [June 21, 2022, 3:00pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-oil-over-water/61004/5 "2022-06-21T15:00:05Z")

</div>

Result of overlaying two tanks as suggested by @lrose.  
 ![Vision 2 tanks](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/d/6d59e1a1a714d4d638f65c0cd2672fb97836d8e1.png)

---

<div class="post-metadata">

**Author:** ![Raymundo\_Villa](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@Raymundo\_Villa](https://forum.inductiveautomation.com/u/Raymundo_Villa)\
**Post date:** [June 21, 2022, 3:08pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-oil-over-water/61004/6 "2022-06-21T15:08:52Z")

</div>

You guys make it look and sound easy, but when you are a novice at this its pretty hard. I thought of that option since that’s something that I’ve done in Redlion HMI’s and even did it in vision with 2 level indicators, but don’t know where to start with this “Cylindrical Tank” component.

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [June 21, 2022, 4:57pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-oil-over-water/61004/7 "2022-06-21T16:57:56Z")

</div>

hi @Raymundo_Villa,

i supose you want to make the level dynamic of both water and oil?  
In vision i'm not able to make it dynamic in perspective i've found a solution.  
i've export the vision view for you  
[Test\_2022-06-21\_1656.zip](https://forum.inductiveautomation.com/uploads/short-url/sTu8cg83cPozyGV7ZxPUtz4sFQo.zip) (8.1 KB)

---

<div class="post-metadata">

**Author:** ![Raymundo\_Villa](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@Raymundo\_Villa](https://forum.inductiveautomation.com/u/Raymundo_Villa)\
**Post date:** [June 21, 2022, 5:11pm UTC](https://forum.inductiveautomation.com/t/cylindrical-tank-oil-over-water/61004/8 "2022-06-21T17:11:26Z")

</div>

That’s exactly what I am looking for, but I don’t know how to do it. Again I am a novice and don’t have much experience with Ignition, a real quick how to would be greatly appreciated. I now I have to put one tank over the other, set the oil behind the water but after that I am lost.
