* Custom Tree Splitter

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
User avatar
pricero1
Platinum
Posts: 42
Joined: 15 Sep 2003 16:22
Family Historian: V5
Location: Isle of Wight, UK

Custom Tree Splitter

Post by pricero1 »

There is a wish-list item asking for a tree-split based upon the individuals shown on a diagram. I support the wish, but there is a workaround to achieve the same thing. Here's how:
  • Press File, then Save As… Like all tree splitting, the safe approach is to make a copy of your file under a new name.
  • Create the diagram on which you want to make the split. Use expansion buttons to show only those individuals that you want to keep in the tree. You can have multiple trees in the diagram, and you can hide boxes.
  • Press Diagram, then Zoom, then View Whole Diagram (alternatively you can press the View Whole Diagram icon directly).
  • Your diagram will now be small and probably unreadable. Don't worry, you don't need to. Depress the left-hand mouse button, and, keeping it depressed, select the whole diagram.
  • Press Edit, then Add to Named List…
  • Type Tree Split as the name of the list. Press OK when asked if you want to create a new list.
  • You now need to create a custom query, so press Tools then Work with Queries…
  • Press the button called Query Menu (if the rightmost button) and select New Custom Query…
  • Give the query the name Split Tree and the query type is Individual.
  • Go straight to the Rows tab and then select the List tab.
  • Select the list Tree Split in the dropdown box called Is In List.
  • Press the Add button. You can now close the query window. Next time you use this method of tree splitting you will not need to create a new custom query because you've already done it.
  • Now select File and then Split Tree Helper…
  • Select Delete all Individual records NOT found by the Individual query below.
  • Select the Individual Query you've named as Tree Split.
  • Configure the rest of the Split Tree Helper dialogue box according to your needs, then press Delete.
  • You now have a tree containing only those individuals in the diagram. The last step is to delete the list called Tree Split (this is not essential, but the list no longer serves any purpose).
This may look to be a long and complicated process, but I hope that you'll accept my assurance that it is really quick and simple. I think that it is an ideal way to strip-down a GEDCOM file for passing onto other people or for loading onto Genes Reunited.

Robin Price
avatar
Jomac
Silver
Posts: 8
Joined: 26 Nov 2003 21:57
Family Historian: None

Custom Tree Splitter

Post by Jomac »

Hello,

I'm really only a part-time worker at this game and one of the problems I have been wrestling with today is how to strip out a whole lot of names from my tree so that I send only necessary data to a friend. This little work-round does the trick very nicely.
Thank you Robin.

Jomac.
avatar
davidcoster
Newbie
Posts: 1
Joined: 16 Jan 2007 17:16
Family Historian: None

Custom Tree Splitter

Post by davidcoster »

Excellent! It made the job of separating the names I wanted from a very large GEDCOM file extremely easy.

Many thanks

David
User avatar
phende
Platinum
Posts: 48
Joined: 18 Sep 2006 15:21
Family Historian: V7

Custom Tree Splitter

Post by phende »

One thing I would add to this is that, having split the file, you should display Families. You will probably find a number of families at the end of the tree. This is because FH retains the marriage even though the participants have been deleted. Delete these families and the split file will be much tidier.
User avatar
pricero1
Platinum
Posts: 42
Joined: 15 Sep 2003 16:22
Family Historian: V5
Location: Isle of Wight, UK

Custom Tree Splitter

Post by pricero1 »

Peter - I'm not so sure about that. FH should, I think, remove unused family records automatically when you reopen the file.
avatar
heathermary
Diamond
Posts: 63
Joined: 21 Nov 2002 16:21
Family Historian: V6

Custom Tree Splitter

Post by heathermary »

Thank you so much - I have tried the split tree helper several times and found wives disappear as they aren't direct descendants but this method preserves families intact but only as far down the tree as wanted - couldn't be better!
User avatar
PeterR
Megastar
Posts: 1135
Joined: 10 Jul 2006 16:55
Family Historian: V7
Location: Northumberland, UK

Custom Tree Splitter

Post by PeterR »

This is now much easier because the File > Export option in FH4 can export a GEDCOM file based directly on a Named List, so no need to create a Query or use the Split Tree Helper.
avatar
longfield
Gold
Posts: 12
Joined: 03 Jan 2007 17:47
Family Historian: None

Custom Tree Splitter

Post by longfield »

Accepted that this thread is quite old, but I've used it sucessfully today to create a small gedcom.

However, now I'm trying to use it on the original tree to delete the records now on the small one. As I want to keep over 2000 names, there is no way I could use the expansion buttons and select those I want to keep. If I do it in reverse and select delete for those I want to get rid off, it doesn't work.

What could I be doing wrong? (in simple words please)

Thanks
avatar
admin
Famous
Posts: 245
Joined: 30 Aug 2013 07:52
Family Historian: V6
Contact:

Custom Tree Splitter

Post by admin »

Just use the inverse of the query you used on the original split, so if you deleted records found by a query on one use 'Not found by' on the other.
avatar
longfield
Gold
Posts: 12
Joined: 03 Jan 2007 17:47
Family Historian: None

Custom Tree Splitter

Post by longfield »

Thanks for the response.

I thought that was what I was doing, but I'll have (yet) another go at it and double check I'm doing it the right way round.
avatar
antheaj
Gold
Posts: 23
Joined: 09 Jul 2003 13:13
Family Historian: V7
Location: Worcestershire, England

Custom Tree Splitter

Post by antheaj »

I had hoped to be able to use this to so that I could send my data to a cousin but I cannot find 'work with queries' under the tools menu. Am I doing something wrong?
avatar
admin
Famous
Posts: 245
Joined: 30 Aug 2013 07:52
Family Historian: V6
Contact:

Custom Tree Splitter

Post by admin »

Just click on the Queries icon on the icon bar or take the view/standard queries and select one.
avatar
antheaj
Gold
Posts: 23
Joined: 09 Jul 2003 13:13
Family Historian: V7
Location: Worcestershire, England

Custom Tree Splitter

Post by antheaj »

Thanks Jane.
avatar
dahliarose
Gold
Posts: 18
Joined: 08 Jun 2003 11:56
Family Historian: V7
Location: England
Contact:

Custom Tree Splitter

Post by dahliarose »

Thanks for this tip. It looked daunting at first but I followed the instructions and it worked really well. I successfully managed to split off a tree, and the whole process only took about five minutes.
Post Reply