cluster_geometry_collection
Clusters all transforms in a UGeometryCollection into connected groups at a target site count, scaling via Small/Medium/Large, then saves the asset.
Instructions
Runs auto-clustering on all transforms of a UGeometryCollection asset, targeting site_count clusters ("Small" doubles it, "Large" halves it, any other method keeps it) with connectivity enforced, then saves it. Returns the cluster count used and the transform counts before and after; the call fails when no cluster was added (a collection that is not fractured into several pieces has nothing to group) or when the save fails.
Returns: { geometry_collection_path: string, cluster_size_method: string, site_count: int, num_transforms_before: int, num_transforms_after: int, success: bool, saved: bool, save_error: string? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_count | No | Target cluster count before cluster_size_method scales it, minimum 1, default 10 | |
| cluster_size_method | No | Small, Medium, or Large, default Medium | |
| geometry_collection_path | Yes | Full asset path to the UGeometryCollection |