Create a segment length constraint.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
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
See Also
Reference