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 Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →