BoundarySegment Class

BoundarySegment Class

An object that represents a segment of an area boundary.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBBoundarySegment

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public class BoundarySegment : IDisposable
Public Class BoundarySegment
	Implements IDisposable
public ref class BoundarySegment : IDisposable
type BoundarySegment = 
    class
        interface IDisposable
    end

The BoundarySegment type exposes the following members.

Properties
 NameDescription
Public propertyElementId Retrieve the id of the element that produces this boundary segment. If the segment is created from an element in a link, this is the id of the RevitLinkInstance.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyLinkElementId Retrieve the element id of the element in a link instance that forms this boundary.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the BoundarySegment
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetCurve Get a copy of the curve that is formed along this boundary.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
These objects define the exterior boundary of an area. The geometry of the segment can be retrieved along with the id of the element that is responsible for producing that boundary.
See Also