RVTDocs.com

RebarConstraint.SetToUseClearBarSpacing

Method
Description:
Sets whether the RebarConstrainedHandle to target offset is the clear bar distance, or is measured between bar centers.
Remarks:
Throw exception if it's used on start/end handle to start/end handle constraint, and on constraints involving bar/hook bend handle.
Syntax
public void SetToUseClearBarSpacing(
	bool useClearBarSpacing
)
Parameters
Parameter Type Description
useClearBarSpacing Boolean True if the RebarConstrainedHandle to target offset is the clear bar distance, false if the offset is measured between bar centers.
Return Value
Exceptions
Exception Condition
InvalidOperationException RebarConstraint is no longer valid. -or- The RebarConstraint is not of RebarConstraintType 'ToOtherRebar'. -or- The RebarConstraint constrain two Rebar ends. -or- The RebarTargetConstraintType is 'HookBend' or 'BarBend'.