BRepBuilderPersistentIds
This class stores a map from ExternalGeometryIds to BRepBuilderGeometryIds.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.BRepBuilderPersistentIds
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class BRepBuilderPersistentIds : IDisposableThe BRepBuilderPersistentIds type exposes the following members.
Constructors
Name
Description
Public Method
BRepBuilderPersistentIds
Constructs a new BRepBuilderPersistentIds and associates the existing BRepBuilder to it.
Properties
Name
Description
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Methods
Name
Description
Public Method
AddSubTag
Adds a correspondence between an ExternalGeometryId and a BRepBuilderGeometryId. Note that an existing correspondence in the map cannot be updated and that a particular BRepBuilderGeometryId may be related to at most one ExternalGeometryId.
Public Method
Dispose
Releases all resources used by the BRepBuilderPersistentIds
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
IsAssociatedBRepBuilderValid
Validates the associated (in the constructor) BRepBuilder for this BRepBuilderPersistentIds.
Public Method
IsBRepBuilderGeometryIdFaceOrEdge
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.
Public Method
IsValidBRepBuilderGeometryIdForNewCorrespondence
Validates the input BRepBuilderGeometryId that will be used to create a correspondence. In order to be valid, a correspondence for the input BRepBuilderGeometryId must not already exist.
Public Method
IsValidExternalGeometryIdForNewCorrespondence
Validates the input ExternalGeometryId that will be used to create a correspondence. In order to be valid, a correspondence for the input ExternalGeometryId must not already exist.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)