# Gumball relocate

**URL:** <https://discourse.mcneel.com/t/gumball-relocate/134495>\
**Category:** Rhino\
**Tags:** windows, rhino-for-windows\
**Created:** [December 5, 2021, 6:05am UTC](https://discourse.mcneel.com/t/gumball-relocate/134495 "2021-12-05T06:05:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user1956](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/user1956/32/775938_2.png) [@user1956](https://discourse.mcneel.com/u/user1956)\
**Post date:** [December 5, 2021, 6:05am UTC](https://discourse.mcneel.com/t/gumball-relocate/134495/1 "2021-12-05T06:05:23Z")

</div>

Hello, is there a macro to automatically move the gumball to the insertion point of the object?

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [December 6, 2021, 4:43pm UTC](https://discourse.mcneel.com/t/gumball-relocate/134495/2 "2021-12-06T16:43:55Z")

</div>

Hello- the object here being a block instance, correct? There is nothing that I know of in plain Rhino.

here is a python that will do that -

[GumballToInsertion.py](https://discourse.mcneel.com/uploads/short-url/bReKAWgfEVlEMuhUneD5FwBJJRP.py) (344 Bytes)

To use the Python script use `RunPythonScript`, or a macro:

`_-RunPythonScript "Full path to py file inside double-quotes"`

-Pascal

---

<div class="post-metadata">

**Author:** ![user1956](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/user1956/32/775938_2.png) [@user1956](https://discourse.mcneel.com/u/user1956)\
**Post date:** [December 6, 2021, 5:19pm UTC](https://discourse.mcneel.com/t/gumball-relocate/134495/3 "2021-12-06T17:19:05Z")

</div>

Thanks, it can indeed be used for blocks in my element library, but not for objects created with GH definitions in Rhino!

Gérard
