IsBRepBuilderGeometryIdFaceOrEdge Method


BRep Builder Persistent Ids Is BRep Builder Geometry Id Face Or Edge 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: 25.0.0.0 (25.0.0.0)
Syntax
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
Exception Condition
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
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →