New conception gramplet?

AIO64-6.0.1–1
Win

For my research I regularly have to take two dates out of GRAMPS. The marriage date of current selected family and the birth date of their first born child. I take these dates to LibreOffice Calc. Enter them in their appropriate cells and copy the results of my custom calculation back into gramps. It basically calculates how long before or after marriage the child was conceived. (there is more to it then that). I just wondered if this could be done with the new gramp.py gramplet. BUT I have to say that I have ZERO experience using python, so have no idea if it could be done and where to begin.

For an example of date comparison and validation add-on (implemented as a Tool rather than a Gramplet), see the source code of the Verify the Data built-in tool.

(It has a glade file for the interface layout and the registration is one of several in the tools.gpr.py file.)

1 Like

Thank you for your reply. I could have / should have guessed that an answer would be way over my head. I’ll keep the CALC file alive.

You could ask an AI to review the code and reduce it to identifying the number of days between the marriage date (if any) and the date of birth of the first known child (if any).

Then try that as a Family category SuperTool script.

Another gramplet that might be adaptable to your purpose is the Age Stats gramplet

If you use FamilyTreeView, you could use a custom badge on families. It would show directly on your tree. You’ll need to write some python for that, though.

Thanks, but I’m an absolute noob on any of the current languages. Grown up with basic, pascal and VB. I have no clue where to begin and will leave the situation as is.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.