Skip to content

TessellatedShapeBuilder.Build

Public Class

Builds the designated geometrical objects from the stored face sets. Stores the result in this TessellatedShapeBuilder object.

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public void Build()

Exceptions

Exception

Condition


InvalidOperationException

Throws if data in the stored face sets are so inconsistent, that they cannot be used in their entirety, or if an attempt is made to create unacceptable geometry with too many facets.


Remarks

The behavior of this function is affected by Target, Fallback and GStyleId properties of this TessellatedShapeBuilder object. Currently only “Solid/Abort”, “AnyGeometry/Mesh” and “Mesh/Salvage” target/fallback combinations are supported. Note that this function does not erase the face sets stored in the builder. If the same builder is used to construct geometrical objects for different collections of face sets, ( Clear.) should be called while switching from one collection to another.