Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
WeldConstraintPreserve
Controls which WeldConstraints are included in the recommendation table returned by GeometryService:CalculateConstraintsToPreserve() after a solid modeling operation such as GeometryService:UnionAsync(), GeometryService:SubtractAsync(), or GeometryService:IntersectAsync(). Pass this enum as the weldConstraintPreserve key inside the options dictionary argument to that method. The default value used when no option is specified is WeldConstraintPreserve.Touching.
Items
| Name | Value | Description |
|---|---|---|
| All | 0 | All WeldConstraints will be returned in the recommended table. |
| None | 1 | WeldConstraints will be ignored and not returned in the recommended table. |
| Touching | 2 | Only WeldConstraints that connect touching parts in the performed operation will be returned in the recommended table. |
All
All WeldConstraints will be returned in the recommended table.
| Field | Value |
|---|---|
| value | 0 |
None
WeldConstraints will be ignored and not returned in the recommended table.
| Field | Value |
|---|---|
| value | 1 |
Touching
Only WeldConstraints that connect touching parts in the performed operation will be returned in the recommended table.
| Field | Value |
|---|---|
| value | 2 |