Share

RebarShapeConstraintSegmentLength Class

A constraint that controls the length of a segment.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.Structure.RebarShapeConstraint
    Autodesk.Revit.DB.Structure.RebarShapeConstraintSegmentLength


Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class RebarShapeConstraintSegmentLength : RebarShapeConstraint

The RebarShapeConstraintSegmentLength type exposes the following members.

Constructors

 NameDescription
Public methodRebarShapeConstraintSegmentLength Create a segment length constraint.

Properties

 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from RebarShapeConstraint)

Methods

 NameDescription
Public methodDispose
(Inherited from RebarShapeConstraint)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetParamId Return the Id of the parameter associated with this constraint.
(Inherited from RebarShapeConstraint)
Public methodGetSegmentEndReferenceType Choice of two possibilities for the start and end references of the length constraint.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

Remarks

The constraint has two references, indexed by 0 and 1, that do not have to correspond to the start and end of the segment.

See Also

Reference

Was this information helpful?