Get all subcategories in a specific family from the project file

Do you want something like this?: