Share

RebarShapeConstraintSegmentLength Constructor

Create a segment length constraint.


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

Syntax

C#

public RebarShapeConstraintSegmentLength(
	ElementId paramId,
	RebarShapeSegmentEndReferenceType refType0,
	RebarShapeSegmentEndReferenceType refType1
)

Parameters

paramId  ElementId
The Id of a Rebar Shape parameter.
refType0  RebarShapeSegmentEndReferenceType
Choose between two possibilities for the first reference of the length constraint.
refType1  RebarShapeSegmentEndReferenceType
Choose between two possibilities for the second reference of the length constraint.

Exceptions

ExceptionCondition
ArgumentException paramId is not a valid Element identifier.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also

Reference

Was this information helpful?