move_child
Relocate a child to another family, preserving the link's citations and notes, and place them in birth order. Writes the new family first so a failure leaves the child in both, never neither.
Instructions
Move a child to another family with the link's citations and notes, placed in birth order. Detaching and re-adding loses both. The new family is written first: a failure leaves the child in both, never in neither.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frel | No | New relationship to the father, e.g. 'Stepchild'. Omit to keep. | |
| mrel | No | New relationship to the mother. Omit to keep. | |
| child | Yes | The child's handle or gramps_id. | |
| to_family | Yes | The family to move them to. | |
| from_family | Yes | The family the child is in now. | |
| allow_new_type | No | Accept a type that is neither a Gramps standard type nor one of the tree's custom types, creating it as a new custom type. Only when meant: a near-miss is refused with the closest names. |