Write group info
Write group info action performs about the same process as the Write group info command.
Execution of the task requires group information. Groups can be assigned using Assign groups -routine.
This routine is designed to write border group information correctly, when the macro is run on project blocks. Each group is reported once to the result files, even if a group splits to two different blocks. To work properly, harmonize border groups using Fix border groups, and include complete border groups in the reporting step using neighbor points.

Return value: Number of groups that were reported by the process.