set_parents
Assign a father and/or mother to a child in a GEDCOM file, reusing an existing family record or creating a new one. Simplifies linking parents to children in family trees.
Instructions
Make father/mother the parents of a child, reusing their existing family or creating one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | GEDCOM file name (with or without .ged). Optional when only one file exists. | |
| child_id | Yes | Record id such as @I12@ | |
| father_id | No | ||
| mother_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Id of the record created or modified | |
| file | Yes | ||
| backup | No | Path of the .bak written before saving | |
| message | Yes |