In a complex tree where there are a number of branches away from the main bloodline of a tree, is there a way to do a Gedcom export with ONLY the main line of descendants and where a daughter had married into a new family, ONLY their children will show, and not further descendants of this family name.
I’ve used Descendants of highlighted person and then the descendants and spouses, and I get it giving a number of other extended families in the output.
I’m trying to create a simplified family trees to share in Ancestry for a broad family group without a lot of personal profiles showing up from extended marriages.
There are a few ways- I would create a group of what is needed.
Then export that group when asked at time being exported.
Getting the exact criteria correct (BUT NOT SURNAME) and so might get tricky depending on you tree. If I am understanding correctly you want most everything from the new son-in-law POV?
I should have shown an example of what I’m trying to do. There used to be a Hards Family Society run on a personal PC and distributing paper charts to members all over the world. The database was corrupted and the old team have passed away. I, and a few others are trying to recreate these old trees on a modern platform (Ancestry for now). we’re busy pulling together personal trees from different sources and we want to strip out all the personal extended trees, just retaining the something of the original core like the example I’ve attached. As Genealogy has grown since these old charts were done we’ve been able to link together a number of trees. Slowly forming a single tree. As you can see from this image- where a daughter has married someone, eg Emily Charlotte has married a man called Woods, the descendancy stops. All the male Hards marriages continue. It’s a big task, interesting, but to have all the extended families will make the tree monsterous.
I wish this option was available in the Gedcom export. I may just have to learn how to use groups.
Response by AI – so subject to errors – I might be able to help with the RM groups part-- but I am guess there are other users maybe have done something similar & might have better suggestions
That is a fascinating project, and looking at the old Hards Family Society chart really highlights how those classic lineage-linked printouts were structured!
What you are describing is essentially a patrilineal-focused surname chart (often tracking agnatic descent—all-male-line descents from a common ancestor) combined with pruned collateral branches. In traditional printed genealogical charts, space constraints and the explicit purpose of a “Family Society” often meant cutting off female-line descendants at the first generation (listing the husband’s surname, e.g., Emily Charlotte HARD ×\times× [Woods], but carrying no further children down that branch) while keeping all the male HARD lines active to preserve the core surname skeleton.
Because modern software like Ancestry or standard GEDCOM exports are built to export everyone (ancestors and all their descendants indefinitely), filtering out all female-line and extended collateral descendancies automatically can indeed feel like trying to wrestle a monster.
Here is how you can approach managing or automating this kind of pruning without losing your mind:
1. The Strategy in Desktop Software (RootsMagic / Family Historian)
If you manage this database in a desktop application rather than directly on Ancestry, you have much finer control over filtering before exporting a GEDCOM:
Using Named Groups / Flags: As you mentioned, using groups or flags is often the most direct route. You can tag everyone who belongs to the direct agnatic (Hards surname) line and their immediate spouses.
Descendant Filters: Most advanced desktop software lets you run a “Descendant Report” or export filter limited by Surname (retaining only individuals with the surname Hards/Hard) plus one generation of children for female-line marriages (to capture the marriage event and spouse as shown on your chart, but stop before their children are added).
2. Custom SQL or Scripting Approaches
Since you are comfortable working with database structures and queries, doing this at the SQL level (if you use a tool like SQLite for your master file) is often faster than clicking through a GUI:
You can write a query that identifies individuals matching the Hards surname line, flags their direct male-line descendants recursively using a Common Table Expression (CTE), and strips out children of female-line marriages beyond the initial marriage link.
This allows you to generate a clean, custom GEDCOM containing only the core society framework, which you can then upload to Ancestry as your master “Society Tree” without the bloat of all extended allied families.
3. Maintaining Two Trees on Ancestry
Many one-name study researchers maintain a “Core Reference Tree” (strictly the pruned surname skeleton for publications, society matching, and high-level overviews) alongside a “Master Research Tree” (where all the extended families, female lines, and allied collateral branches live so you don’t lose the research data). You can link them or keep the master tree private/unindexed while sharing the core tree publicly for the society.
It’s an incredible undertaking to resurrect and stitch back together decades of lost society research. How are you currently managing the master data—are you keeping a working copy in desktop software like RootsMagic before pushing chunks of it up to Ancestry?
Lots of words from AI that are over my head but yes to keeping multiple trees on an Ancesttry account and in a Facebook group of all our interested persons (70 now), We have a Featured post of all the links to the various trees. I do all the merging etc in a RM 11 program on my Windows PC. Something I might try. Claude AI is very good with gedcom creation and I might throw a gedcom up to it and ask it to strip away the extra profiles and give me back a new gedcom. It’s worth a test - one of the good things with AI nowadays.