M

Create

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2023).
Identical to 2023: 2020, 2021, 2022, 2024, 2025, 2025.3, 2026
2023 current
RebarConstraint.Create(RebarConstrainedHandle, IList<Reference>, Boolean, Double, IList<Reference>)
handle RebarConstrainedHandle The handle of the rebar that will be constrained.
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.
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.
→ returns RebarConstraint Returns the newly created RebarConstraint.