Skip to content

WeldConstraintPreserve

Not yet Enum

Controls which WeldConstraints are included in the recommendation table returned by GeometryService.CalculateConstraintsToPreserve().

Not implemented in Nova

This enum is missing from Nova. Scripts that reference it will fail.

Description

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

Item Value Status Notes
All 0 Not yet All WeldConstraints will be returned in the recommended table.
None 1 Not yet WeldConstraints will be ignored and not returned in the recommended table.
Touching 2 Not yet Only WeldConstraints that connect touching parts in the performed operation will be returned in the recommended table.

Roblox reference: WeldConstraintPreserve