Share

BRepBuilderPersistentIds.IsBRepBuilderGeometryIdFaceOrEdge Method

Validates the input BRepBuilderGeometryId that will be used to create a correspondence. In order to be valid, the input BRepBuilderGeometryId must represent the ID of either a Face or an Edge.


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

Syntax

C#

public bool IsBRepBuilderGeometryIdFaceOrEdge(
	BRepBuilderGeometryId brepBuilderGeometryId
)

Parameters

brepBuilderGeometryId  BRepBuilderGeometryId
The BRepBuilderGeometryId to be used in a new correspondence.

Return Value

Boolean
True if the input BRepBuilderGeometryId represents the ID of either a Face or an Edge, false otherwise.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

Remarks

This method returns false also in the case when the associated BRepBuilder is not valid. Call IsAssociatedBRepBuilderValid() to check the associated BRepBuilder.

See Also

Reference

Was this information helpful?