# How can i base a point on a plan?

**URL:** <https://forum.universal-robots.com/t/how-can-i-base-a-point-on-a-plan/17579>\
**Category:** URScript\
**Created:** [November 12, 2021, 6:47pm UTC](https://forum.universal-robots.com/t/how-can-i-base-a-point-on-a-plan/17579 "2021-11-12T18:47:58Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![anon86510813](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@anon86510813](https://forum.universal-robots.com/u/anon86510813)\
**Post date:** [November 12, 2021, 7:33pm UTC](https://forum.universal-robots.com/t/how-can-i-base-a-point-on-a-plan/17579/3 "2021-11-12T19:33:51Z")

</div>

Yes, I know that. but I would like to do this in the script, as I will change the plan every cycle, and the only way I have found to create a plan every time is within a script.

> [@Script function to create a Plane with 3 variables points](https://forum.universal-robots.com/t/script-function-to-create-a-plane-with-3-variables-points/6128):
>
> Hi, I’m looking for a way to calculate a plane using 3 variables points to allow the robot to reteach a plane which already exist. My problem is that i’m using an automatic motorized robot (AMR) which can’t be precise when it stop. My robot has to place Parts on this AMR. So I want the robot to “touch” the edge of the AMR and calculate the new plane using those points. Thanks Charles.

---

_[View the full topic](https://forum.universal-robots.com/t/how-can-i-base-a-point-on-a-plan/17579)._
