RebarShapeConstraintProjectedSegmentLength
Description:
Constructs a new instance of a RebarConstraintProjectEdgedLength object using a shape parameter, direction, and reference types.
Constructs a new instance of a RebarConstraintProjectEdgedLength object using a shape parameter, direction, and reference types.
public RebarShapeConstraintProjectedSegmentLength(
ElementId paramId,
UV direction,
int tripleProductSign,
RebarShapeSegmentEndReferenceType refType0,
RebarShapeSegmentEndReferenceType refType1
)
-
paramIdThe Id of a Rebar Shape parameter.
-
directionA vector specifying the direction of the constraint. The direction is fixed, and the shape is always constructed so that the segment's direction has a positive dot product with this vector.
-
Int32tripleProductSignSign of the z-coordinate of the cross product of the "direction" argument with the segment vector. In other words, 1 if the segment direction is to be on the left of the constraint direction, or -1 if the segment direction is to be on the right.
-
refType0Choose between two possibilities for the first reference of the length constraint.
-
refType1Choose between two possibilities for the second reference of the length constraint.
-
paramId is not a valid Element identifier. -or- tripleProductSign is not 1 or -1.
-
A non-optional argument was null
-
direction has zero length. -or- A value passed for an enumeration argument is not a member of that enumeration