RebarConstrainedHandle Class

A class representing a handle on a Rebar that can be joined to a reference, such as a host Element's surface or cover, another Rebar's handle or to a generic surface.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.StructureRebarConstrainedHandle

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class RebarConstrainedHandle : IDisposable

The RebarConstrainedHandle type exposes the following members.

Properties
 NameDescription
Public propertyHandleBehavior Identifies the handle behavior.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
 NameDescription
Public methodCanSetBehavior Checks if the input behavior can be set for this RebarConstrainedHandle.
Public methodDisposeReleases all resources used by the RebarConstrainedHandle
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetCustomHandleTag Returns the tag of the handle. The type of the handle should be 'CustomHandle'.
Public methodGetEdgeNumber If the RebarConstrainedHandle's RebarHandleType is 'Edge', then this function will return the number of the edge that is driven by the handle.
Public methodGetHandleName Gets the name of the handle.
Public methodGetHandleSurface Gets the surface of this handle.
Public methodGetHandleType Returns the RebarHandleType of a RebarConstrainedHandle.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetPossibleHandleBehaviors Gets a list of possible handle behaviors for the current handle.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsCustomHandle Returns true if the RebarHandleType of the RebarConstrainedHandle is 'CustomHandle'.
Public methodIsEdgeHandle Returns true if the RebarHandleType of the RebarConstrainedHandle is 'Edge'.
Public methodIsEqual Checks if the specified RebarConstrainedHandle is the same as 'this'.
Public methodIsValid Checks that the RebarConstrainedHandle still has access to valid Rebar handle data and that its RebarConstraintsManager is still valid.
Public methodMove Moves the handle with the specified vector. This function applies only for shape driven rebar.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks

A rebar element's flexible geometry is controlled by several handles. The shape of the bar is controlled by a handle at each end of the bar and a handle each edge. Another handle is used to control the location of the plane in which the rebar lies. An additional handle controls the length of a set of rebar.

RebarConstrainedHandles can only be constructed internally by Revit. They are available to the API by querying a Rebar element's RebarConstraintsManager.

See Also