# New Gram.py Script for 6.0

**URL:** <https://gramps.discourse.group/t/new-gram-py-script-for-6-0/7192>\
**Category:** Development\
**Tags:** third-party-addon\
**Created:** [March 9, 2025, 10:53pm UTC](https://gramps.discourse.group/t/new-gram-py-script-for-6-0/7192 "2025-03-09T22:53:13Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![dsblank](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/dsblank/32/3649_2.png) [@dsblank](https://gramps.discourse.group/u/dsblank)\
**Post date:** [March 10, 2025, 6:49pm UTC](https://gramps.discourse.group/t/new-gram-py-script-for-6-0/7192/8 "2025-03-10T18:49:33Z")

</div>

> [@GeorgeWilmes](#):
>
> Even so, is it aware of the currently active object(s) of each type, if any?

Yes, all of the active objects are defined (if a view is loaded), like active\_person, active\_note, etc.

> [@GeorgeWilmes](#):
>
> Meaning, edit existing objects, not create new ones?

Wow… interesting. Are seriously thinking about doing that via a script? I would think the CSV Import through the Text Import would be easier. But let me know if you are serious, and the use-case.

---

_[View the full topic](https://gramps.discourse.group/t/new-gram-py-script-for-6-0/7192)._
