Share

SolidUtils.SplitVolumes Method

Splits a solid geometry into several separate solids.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static IList<Solid> SplitVolumes(
	Solid solid
)

Parameters

solid  Solid
The solid.

Return Value

IList<Solid>
The split solid geometries.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null
InvalidOperationException Failed to split the solid geometry.

Remarks

If no splitting is done, a copy of the input solid will be returned in the output array.

See Also

Reference

Was this information helpful?