# About updatable Tube

**URL:** <https://forum.babylonjs.com/t/about-updatable-tube/27697>\
**Category:** Questions\
**Tags:** documentation, tutorial\
**Created:** [February 16, 2022, 7:07am UTC](https://forum.babylonjs.com/t/about-updatable-tube/27697 "2022-02-16T07:07:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhang](https://avatars.discourse-cdn.com/v4/letter/z/aeb1de/32.png) [@zhang](https://forum.babylonjs.com/u/zhang)\
**Post date:** [February 16, 2022, 7:07am UTC](https://forum.babylonjs.com/t/about-updatable-tube/27697/1 "2022-02-16T07:07:31Z")

</div>

[Tube Examples | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#WW0ALQ#902)  
Prompt cannot set properties of undefined (setting ‘x’)；

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [February 16, 2022, 8:49am UTC](https://forum.babylonjs.com/t/about-updatable-tube/27697/2 "2022-02-16T08:49:24Z")

</div>

The original tube must have the same number of entries in the `path` parameter as the new one. Your original has 3, the new one 4.

> **[Babylon.js Playground](https://playground.babylonjs.com/#WW0ALQ%23903)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![zhang](https://avatars.discourse-cdn.com/v4/letter/z/aeb1de/32.png) [@zhang](https://forum.babylonjs.com/u/zhang)\
**Post date:** [February 16, 2022, 9:00am UTC](https://forum.babylonjs.com/t/about-updatable-tube/27697/4 "2022-02-16T09:00:13Z")

</div>

Is there any way to support different points

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [February 16, 2022, 9:06am UTC](https://forum.babylonjs.com/t/about-updatable-tube/27697/5 "2022-02-16T09:06:42Z")

</div>

Different number of points? No. The geometry must be recreated if you add new points. You can dispose the old tube and create a new one though.
