2022 Method
Changes 1
M

RebarConstraint.ReplaceReferenceTargets

Description:
Replaces the current set of references, the type of constraint and the offset value, with the newly provided ones. Will throw exception if this is a constraint for Shape Driven Rebar.
public void ReplaceReferenceTargets(
	RebarConstrainedHandle handle,
	IList<Reference> targetReferences,
	bool isConstraintToCover,
	double offsetValue
)
  • handle
    The RebarConstrainedHandle that has this constraint.
  • IList<Reference>
    targetReferences
    The references to which the rebar handle will be constrained. This collection must contain one or more references to faces of elements that can host rebar.
  • Boolean
    isConstraintToCover
    If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
  • Double
    offsetValue
    The distance from references to the rebar handle.