2027 Class Back to 2027
C

RebarConstraint

Version comparison

Members across versions

73 members across 9 versions · 37 added later · 1 removed · 6 changed · 2 obsolete

Member-name color: stable · changed · removed · obsolete · added later

Member 2020 2021 2022 2023 2024 2025 2025.3 2026 2027
M AreGeometryTargetsTheSame(RebarConstraint)
same same same same same missing missing missing missing
not yet introduced added same same same same same same same
M Create(RebarConstrainedHandle, IList<Reference>, Boolean, Double)
same same same same same same same same changed
M CreateConstraintToCustomTarget(RebarConstrainedHandle, Double)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
M CreateConstraintToHostEdge(RebarConstrainedHandle, IList<Reference>)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
M CreateConstraintToHostEdgeCover(RebarConstrainedHandle, IList<Reference>)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
M CreateConstraintToRebarEdge(RebarConstrainedHandle, IList<ConstraintToRebarEdgeProperties>)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
M CreateConstraintToSurface(RebarConstrainedHandle, Surface)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
same same same same same same same same same
not yet introduced added same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
same same same same same same same same same
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
same same same same same same same same same
not yet introduced added same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced added same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
same same same same same same same same same
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
M GetTargetElement(Int32)
same same same same same same same same same
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
M GetTargetHostFaceAndTransform(Int32, Transform)
same same same same same changed same same same
same same same same same changed same same same
same same same same same changed same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
same same same same same same same same same
same same same same same same same same same
not yet introduced added same same same same same same same
M IsEqual(RebarConstraint)
same same same same same same same same same
same same same same same same same same same
M IsReferenceAValidEdgeForConstraint(Document, Reference)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
M IsReferenceAValidFaceForConstraint(Document, Reference)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
same same same same same same same same changed
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
same same same same same same same same same
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
not yet introduced added same same same same same same same
same same same same same same same same same
M IsValidSurfaceToConstraintHandleTo(RebarConstrainedHandle, Surface)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
M ReplaceReferenceTargets(RebarConstrainedHandle, IList<Reference>, Boolean, Double)
same same same same same same same same changed
M ReplaceReferenceTargets(IList<Reference>, RebarConstraintType)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
M SetConstraintToRebarEdgeProperties(ConstraintToRebarEdgeProperties)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added
same same same same same same same same same
not yet introduced added same same same same same same same
not yet introduced added same same same same same same same
not yet introduced added same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same

Per-version detail

Click a version below to see what changed in that release vs your current frame (2027).
2027 current

Changes in 2020 vs 2027 1 added 37 missing 6 changed

Flip API Versions →

Added in 2020 (new since 2027)

Missing in 2020 (only available in 2027)

ConstrainsRebarEnds CreateConstraintToCustomTarget(RebarConstrainedHandle, Double) CreateConstraintToHostEdge(RebarConstrainedHandle, IList<Reference>) CreateConstraintToHostEdgeCover(RebarConstrainedHandle, IList<Reference>) CreateConstraintToRebarEdge(RebarConstrainedHandle, IList<ConstraintToRebarEdgeProperties>) CreateConstraintToSurface(RebarConstrainedHandle, Surface) FlipHandleOverTarget FlipSideForClearBarSpacingZeroDistanceConstraint GetConstraintToRebarEdgeProperties GetDistanceToCustomTarget GetDistanceToTargetHostEdge GetDistanceToTargetHostEdgeCover GetDistanceToTargetRebar GetPositiveOffsetDirectionForToOtherRebarConstraint GetRebarConstrainedHandle GetSurfaceForConstraintToSurface GetTargetCoverTypeForToHostEdgeConstraint(Int32, Int32) GetTargetHostEdgeAndTransform(Int32) GetTargetHostFaceReferenceForEdgeConstraint(Int32, Int32) GetTargetRebarHandleBehavior IsBindingHandleWithTarget IsReferenceAValidEdgeForConstraint(Document, Reference) IsReferenceAValidFaceForConstraint(Document, Reference) IsToCustomTarget IsToHostEdge IsToHostEdgeCover IsToSurface IsUsingClearBarSpacing IsValidSurfaceToConstraintHandleTo(RebarConstrainedHandle, Surface) ReplaceReferenceTargets(IList<Reference>, RebarConstraintType) SetConstraintToRebarEdgeProperties(ConstraintToRebarEdgeProperties) SetDistanceToCustomTarget(Double) SetDistanceToTargetHostEdge(Double) SetDistanceToTargetHostEdgeCover(Double) SetDistanceToTargetRebar(Double) SetToBindHandleWithTarget(Boolean) SetToUseClearBarSpacing(Boolean)

Changed members

RebarConstraint.Create(RebarConstrainedHandle, IList<Reference>, Boolean, Double, IList<Reference>)
handle RebarConstrainedHandle The handle of the rebar that will be constrained. This handle should not be allowed to constrain to an edge.
targetHostFaceReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.
targetReferences IList<Reference> 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.
→ returns RebarConstraint Returns the newly created RebarConstraint.
RebarConstraint.GetTargetHostFaceAndTransform(Int32, Transform)
targetIndex Int32 The index of the target. Should be between 0 and NumberOfTargets().
faceTransform Transform Returns the transform that is associated to the face's element geometry.
→ returns Face Requested Face.
RebarConstraint.GetTargetHostFaceReference()
→ returns Reference Requested reference.
RebarConstraint.GetTargetHostFaceReference(Int32)
targetIndex Int32 The index of the target. Should be between 0 and NumberOfTargets().
→ returns Reference Requested reference.
RebarConstraint.IsReferenceValidForConstraint(Reference)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the RebarConstraint.isReferenceAValidFaceForConstraint().
targetReference Reference The reference to be checked.
→ returns Boolean Returns true if reference can be used in a constraint of 'ToFace' or 'ToCover' type, false otherwise.
RebarConstraint.ReplaceReferenceTargets(RebarConstrainedHandle, IList<Reference>, Boolean, Double)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the new signature of the RebarConstraint.replaceReferenceTargets.
handle RebarConstrainedHandle The RebarConstrainedHandle that has this constraint.
targetReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.

Changes in 2021 vs 2027 1 added 29 missing 6 changed

Flip API Versions →

Added in 2021 (new since 2027)

Missing in 2021 (only available in 2027)

Changed members

RebarConstraint.Create(RebarConstrainedHandle, IList<Reference>, Boolean, Double, IList<Reference>)
handle RebarConstrainedHandle The handle of the rebar that will be constrained. This handle should not be allowed to constrain to an edge.
targetHostFaceReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.
targetReferences IList<Reference> 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.
→ returns RebarConstraint Returns the newly created RebarConstraint.
RebarConstraint.GetTargetHostFaceAndTransform(Int32, Transform)
targetIndex Int32 The index of the target. Should be between 0 and NumberOfTargets().
faceTransform Transform Returns the transform that is associated to the face's element geometry.
→ returns Face Requested Face.
RebarConstraint.GetTargetHostFaceReference()
→ returns Reference Requested reference.
RebarConstraint.GetTargetHostFaceReference(Int32)
targetIndex Int32 The index of the target. Should be between 0 and NumberOfTargets().
→ returns Reference Requested reference.
RebarConstraint.IsReferenceValidForConstraint(Reference)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the RebarConstraint.isReferenceAValidFaceForConstraint().
targetReference Reference The reference to be checked.
→ returns Boolean Returns true if reference can be used in a constraint of 'ToFace' or 'ToCover' type, false otherwise.
RebarConstraint.ReplaceReferenceTargets(RebarConstrainedHandle, IList<Reference>, Boolean, Double)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the new signature of the RebarConstraint.replaceReferenceTargets.
handle RebarConstrainedHandle The RebarConstrainedHandle that has this constraint.
targetReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.

Changes in 2022 vs 2027 1 added 29 missing 6 changed

Flip API Versions →

Added in 2022 (new since 2027)

Missing in 2022 (only available in 2027)

Changed members

RebarConstraint.Create(RebarConstrainedHandle, IList<Reference>, Boolean, Double, IList<Reference>)
handle RebarConstrainedHandle The handle of the rebar that will be constrained. This handle should not be allowed to constrain to an edge.
targetHostFaceReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.
targetReferences IList<Reference> 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.
→ returns RebarConstraint Returns the newly created RebarConstraint.
RebarConstraint.GetTargetHostFaceAndTransform(Int32, Transform)
targetIndex Int32 The index of the target. Should be between 0 and NumberOfTargets().
faceTransform Transform Returns the transform that is associated to the face's element geometry.
→ returns Face Requested Face.
RebarConstraint.GetTargetHostFaceReference()
→ returns Reference Requested reference.
RebarConstraint.GetTargetHostFaceReference(Int32)
targetIndex Int32 The index of the target. Should be between 0 and NumberOfTargets().
→ returns Reference Requested reference.
RebarConstraint.IsReferenceValidForConstraint(Reference)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the RebarConstraint.isReferenceAValidFaceForConstraint().
targetReference Reference The reference to be checked.
→ returns Boolean Returns true if reference can be used in a constraint of 'ToFace' or 'ToCover' type, false otherwise.
RebarConstraint.ReplaceReferenceTargets(RebarConstrainedHandle, IList<Reference>, Boolean, Double)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the new signature of the RebarConstraint.replaceReferenceTargets.
handle RebarConstrainedHandle The RebarConstrainedHandle that has this constraint.
targetReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.

Changes in 2023 vs 2027 1 added 29 missing 6 changed

Flip API Versions →

Added in 2023 (new since 2027)

Missing in 2023 (only available in 2027)

Changed members

RebarConstraint.Create(RebarConstrainedHandle, IList<Reference>, Boolean, Double, IList<Reference>)
handle RebarConstrainedHandle The handle of the rebar that will be constrained. This handle should not be allowed to constrain to an edge.
targetHostFaceReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.
targetReferences IList<Reference> 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.
→ returns RebarConstraint Returns the newly created RebarConstraint.
RebarConstraint.GetTargetHostFaceAndTransform(Int32, Transform)
targetIndex Int32 The index of the target. Should be between 0 and NumberOfTargets().
faceTransform Transform Returns the transform that is associated to the face's element geometry.
→ returns Face Requested Face.
RebarConstraint.GetTargetHostFaceReference()
→ returns Reference Requested reference.
RebarConstraint.GetTargetHostFaceReference(Int32)
targetIndex Int32 The index of the target. Should be between 0 and NumberOfTargets().
→ returns Reference Requested reference.
RebarConstraint.IsReferenceValidForConstraint(Reference)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the RebarConstraint.isReferenceAValidFaceForConstraint().
targetReference Reference The reference to be checked.
→ returns Boolean Returns true if reference can be used in a constraint of 'ToFace' or 'ToCover' type, false otherwise.
RebarConstraint.ReplaceReferenceTargets(RebarConstrainedHandle, IList<Reference>, Boolean, Double)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the new signature of the RebarConstraint.replaceReferenceTargets.
handle RebarConstrainedHandle The RebarConstrainedHandle that has this constraint.
targetReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.

Changes in 2024 vs 2027 1 added 28 missing 6 changed

Flip API Versions →

Added in 2024 (new since 2027)

Missing in 2024 (only available in 2027)

Changed members

RebarConstraint.Create(RebarConstrainedHandle, IList<Reference>, Boolean, Double, IList<Reference>)
handle RebarConstrainedHandle The handle of the rebar that will be constrained. This handle should not be allowed to constrain to an edge.
targetHostFaceReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.
targetReferences IList<Reference> 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.
→ returns RebarConstraint Returns the newly created RebarConstraint.
RebarConstraint.GetTargetHostFaceAndTransform(Int32, Transform)
targetIndex Int32 The index of the target. Should be between 0 and NumberOfTargets().
faceTransform Transform Returns the transform that is associated to the face's element geometry.
→ returns Face Requested Face.
RebarConstraint.GetTargetHostFaceReference()
→ returns Reference Requested reference.
RebarConstraint.GetTargetHostFaceReference(Int32)
targetIndex Int32 The index of the target. Should be between 0 and NumberOfTargets().
→ returns Reference Requested reference.
RebarConstraint.IsReferenceValidForConstraint(Reference)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the RebarConstraint.isReferenceAValidFaceForConstraint().
targetReference Reference The reference to be checked.
→ returns Boolean Returns true if reference can be used in a constraint of 'ToFace' or 'ToCover' type, false otherwise.
RebarConstraint.ReplaceReferenceTargets(RebarConstrainedHandle, IList<Reference>, Boolean, Double)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the new signature of the RebarConstraint.replaceReferenceTargets.
handle RebarConstrainedHandle The RebarConstrainedHandle that has this constraint.
targetReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.

Changes in 2025 vs 2027 22 missing 3 changed

Flip API Versions →

Missing in 2025 (only available in 2027)

Changed members

RebarConstraint.Create(RebarConstrainedHandle, IList<Reference>, Boolean, Double, IList<Reference>)
handle RebarConstrainedHandle The handle of the rebar that will be constrained. This handle should not be allowed to constrain to an edge.
targetHostFaceReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.
targetReferences IList<Reference> 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.
→ returns RebarConstraint Returns the newly created RebarConstraint.
RebarConstraint.IsReferenceValidForConstraint(Reference)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the RebarConstraint.isReferenceAValidFaceForConstraint().
targetReference Reference The reference to be checked.
→ returns Boolean Returns true if reference can be used in a constraint of 'ToFace' or 'ToCover' type, false otherwise.
RebarConstraint.ReplaceReferenceTargets(RebarConstrainedHandle, IList<Reference>, Boolean, Double)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the new signature of the RebarConstraint.replaceReferenceTargets.
handle RebarConstrainedHandle The RebarConstrainedHandle that has this constraint.
targetReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.

Changes in 2025.3 vs 2027 22 missing 3 changed

Flip API Versions →

Missing in 2025.3 (only available in 2027)

Changed members

RebarConstraint.Create(RebarConstrainedHandle, IList<Reference>, Boolean, Double, IList<Reference>)
handle RebarConstrainedHandle The handle of the rebar that will be constrained. This handle should not be allowed to constrain to an edge.
targetHostFaceReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.
targetReferences IList<Reference>
→ returns RebarConstraint Returns the newly created RebarConstraint.
RebarConstraint.IsReferenceValidForConstraint(Reference)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the RebarConstraint.isReferenceAValidFaceForConstraint().
targetReference Reference The reference to be checked.
→ returns Boolean Returns true if reference can be used in a constraint of 'ToFace' or 'ToCover' type, false otherwise.
RebarConstraint.ReplaceReferenceTargets(RebarConstrainedHandle, IList<Reference>, Boolean, Double)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the new signature of the RebarConstraint.replaceReferenceTargets.
handle RebarConstrainedHandle The RebarConstrainedHandle that has this constraint.
targetReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.

Changes in 2026 vs 2027 21 missing 3 changed

Flip API Versions →

Missing in 2026 (only available in 2027)

Changed members

RebarConstraint.Create(RebarConstrainedHandle, IList<Reference>, Boolean, Double, IList<Reference>)
handle RebarConstrainedHandle The handle of the rebar that will be constrained. This handle should not be allowed to constrain to an edge.
targetHostFaceReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.
targetReferences IList<Reference>
→ returns RebarConstraint Returns the newly created RebarConstraint.
RebarConstraint.IsReferenceValidForConstraint(Reference)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the RebarConstraint.isReferenceAValidFaceForConstraint().
targetReference Reference The reference to be checked.
→ returns Boolean Returns true if reference can be used in a constraint of 'ToFace' or 'ToCover' type, false otherwise.
RebarConstraint.ReplaceReferenceTargets(RebarConstrainedHandle, IList<Reference>, Boolean, Double)
Became obsolete in 2027: This property is deprecated in Revit 2027 and might be removed in a future version. Use the new signature of the RebarConstraint.replaceReferenceTargets.
handle RebarConstrainedHandle The RebarConstrainedHandle that has this constraint.
targetReferences IList<Reference> 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.
isConstraintToCover Boolean If true the RebarConstraintType will be set to ToCover, otherwise RebarConstraintType will be set to FixedDistanceToHostFace.
offsetValue Double The distance from references to the rebar handle.