RebarShapeConstraintSegmentLength
Constructor
Description:
Create a segment length constraint.
Create a segment length constraint.
Syntax
public RebarShapeConstraintSegmentLength(
ElementId paramId,
RebarShapeSegmentEndReferenceType refType0,
RebarShapeSegmentEndReferenceType refType1
)
Parameters
Parameter | Type | Description |
---|---|---|
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. |
Return Value
Exceptions
Exception | Condition |
---|---|
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 |