C

Rebar

Version comparison

Members across versions

116 members across 9 versions · 58 added later · 15 removed · 21 changed · 15 obsolete

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

Member 2020 2021 2022 2023 2024 2025 2025.3 2026 2027
M AreBarIndicesValidForSplit(Document, ElementId, ISet<Int32>)
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
M CanElementBeSplit(Document, ElementId)
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 CanSuppressFirstOrLastBar(View, Int32)
same same same same same same same same same
M CanUseHookType(ElementId)
same same same same same same same same same
same same same same same same same same same
M ComputeSpacingsBetweenBars(Document, String, 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
same same same same same same same same same
M ContainsValidArcRadiiForStyleAndBarType(IList<Curve>, RebarStyle, RebarBarType)
same same same same same same same same same
M CreateFreeForm(Document, Guid, RebarBarType, Element)
same same same same same same same same same
M CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarFreeFormValidationResult%)
same same same same same same same changed missing
M CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarFreeFormValidationResult%)
same same same same same same same changed missing
M CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarStyle)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarStyle)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Boolean, Boolean)
same same same same same changed same changed missing
M CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, Boolean, Boolean)
not yet introduced added same same same changed same changed missing
M CreateFromCurves(Document, RebarStyle, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData, Boolean, Boolean)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation)
same same same same same changed same changed missing
M CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId)
not yet introduced added same same same changed same changed missing
M CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
same same same same same changed 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
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
not yet introduced not yet introduced added same same same same same same
same same same same same same same same same
M GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32)
same same same same same same same changed same
M GetCouplerId(Int32)
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
M GetCrankLength(Int32)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M GetCrankRatio(Int32)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M GetCrankTypeId(Int32)
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 changed missing
not yet introduced added same same same same same changed missing
M GetHookTypeId(Int32)
same same same same same same same same same
same same same same same same same same same
M GetLapLength(Int32)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
M GetLayoutFormula(Boolean)
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 added 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
M GetOverridableHookParameters(ISet<ElementId>, ISet<ElementId>, ISet<ElementId>, ISet<ElementId>)
not yet introduced added same same same same same same same
M GetParameterValueAtIndex(ElementId, Int32)
same same same same same same same same same
same same same same same changed same same same
same same same same same same same same same
M GetRebarSplice(Int32)
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 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
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 added same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32)
not yet introduced not yet introduced added same same same same changed same
same same same same same same same same same
same same same same same same same changed same
M IsBarHidden(View, Int32)
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
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 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
M IsSolidInView(View3D)
same same same changed missing missing missing missing missing
same same same same same same same same same
M IsValidCustomSpacingFormula(Document, String)
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 MoveBarInSet(Int32, Transform)
not yet introduced not yet introduced added same same same same same same
M RebarShapeMatchesCurvesAndHooks(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation)
same same same same same same same changed missing
M RebarShapeMatchesCurvesHooksAndEndTreatment(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId)
not yet introduced added same same same same same changed missing
M RemoveSplice(Int32)
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 added same same same same same same
M SetBarHiddenStatus(View, Int32, Boolean)
same same same same same same same same same
M SetBarIncluded(Boolean, Int32)
not yet introduced not yet introduced added same same same same same same
M SetCrankAngledLengthOverride(Int32, Double)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetCrankLengthOverride(Int32, Double)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetCrankOffsetLengthOverride(Int32, Double)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetCrankRatioOverride(Int32, Double)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetCrankTypeId(Int32, ElementId)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetEndTreatmentTypeId(Int32, ElementId)
not yet introduced added same same same same same same same
M SetHookOrientation(Int32, RebarHookOrientation)
same same same same same same same changed missing
M SetHookRotationAngle(Double, Int32)
not yet introduced added same same same same same changed missing
M SetHookTypeId(Int32, ElementId)
same same same same same same same same same
M SetHostId(Document, ElementId)
same same same same same same same same same
M SetLayoutFormula(String)
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 SetPresentationMode(View, RebarPresentationMode)
same same same same same same same same same
M SetSolidInView(View3D, Boolean)
same same same changed missing missing missing missing missing
M SetTerminationOrientation(Int32, RebarTerminationOrientation)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetTerminationRotationAngle(Int32, Double)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same
M SetUnobscuredInView(View, Boolean)
same same same same same same same same same
M SplitRebar(Document, ElementId, ISet<Int32>, Boolean, Boolean)
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 added same same same
same same same same same changed same missing missing
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 added 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 added 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
same same same same same same same same same
P Mass
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
same same same same same same same same same
same same same same same same same same same
P Volume
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 10 added 53 missing 5 changed

Flip API Versions →

Added in 2020 (new since 2027)

Missing in 2020 (only available in 2027)

AreBarIndicesValidForSplit(Document, ElementId, ISet<Int32>) CanElementBeSplit(Document, ElementId) ComputeSpacingsBetweenBars(Document, String, Double) CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarStyle) CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarStyle) CreateFromCurves(Document, RebarStyle, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData, Boolean, Boolean) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData) EnableCrankLengthOverride(Boolean) EnableHookLengthOverride(Boolean) GetBarIndexFromReference(Reference) GetCrankAngledLength(Int32) GetCrankLength(Int32) GetCrankOffsetLength(Int32) GetCrankRatio(Int32) GetCrankStraightLength(Int32) GetCrankTypeId(Int32) GetLapLength(Int32) GetLayoutFormula(Boolean) GetMovedBarTransform(Int32) GetOverridableCrankParameters GetOverridableHookParameters(ISet<ElementId>, ISet<ElementId>, ISet<ElementId>, ISet<ElementId>) GetRebarSplice(Int32) GetSpacingsBetweenBars GetSpliceStaggerLength(Int32) GetTerminationOrientation(Int32) GetTerminationRotationAngle(Int32) GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32) IsCrankLengthOverrideEnabled IsCustomSpacingWithPredefinedNumberOfBars IsHookLengthOverrideEnabled IsValidCustomSpacingFormula(Document, String) MoveBarInSet(Int32, Transform) RemoveSplice(Int32) ResetMovedBarTransform(Int32) SetBarIncluded(Boolean, Int32) SetCrankAngledLengthOverride(Int32, Double) SetCrankLengthOverride(Int32, Double) SetCrankOffsetLengthOverride(Int32, Double) SetCrankRatioOverride(Int32, Double) SetCrankStraightLengthOverride(Int32, Double) SetCrankTypeId(Int32, ElementId) SetEndTreatmentTypeId(Int32, ElementId) SetLayoutFormula(String) SetTerminationOrientation(Int32, RebarTerminationOrientation) SetTerminationRotationAngle(Int32, Double) SplitRebar(Document, ElementId, ISet<Int32>, Boolean, Boolean) CanHaveVaryingLengthBars FreeForm3DPathServerGuid FreeFormAlignedServerGuid FreeFormMorphedServerGuid FreeFormSurfaceServerGuid HasVariableLengthBars Mass

Changed members

Rebar.CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
doc Document A document.
rebarShape RebarShape A RebarShape element that defines the shape of the rebar.
barType RebarBarType A RebarBarType element that defines bar diameter, bend radius and material of the rebar.
host Element The element to which the rebar belongs. The element must support rebar hosting; <span class="noLink">[!:Autodesk::Revit::DB::Structure::RebarHostData]</span>.
origin XYZ The lower-left corner of the shape's bounding box will be placed at this point in the project.
xVec XYZ The x-axis in the shape definition will be mapped to this direction in the project.
yVec XYZ The y-axis in the shape definition will be mapped to this direction in the project.
→ returns nullNothingnullptrRebar The newly created Rebar instance, or if the operation fails.
Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection Boolean If the curves overlap, as in a planar stirrup, this parameter controls whether they should be adjusted to avoid intersection (as in fine views), or kept in a single plane for simplicity (as in coarse views).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. This is useful for rebar sets that have varying length bars. In this case you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index If the rebar set don't have varying bars, the form of the bars does not vary from one index to another.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList The centerline curves or empty array if the curves cannot be computed because the parameters values are inconsistent with the constraints of the RebarShape definition.
Rebar.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
end Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.

Changes in 2021 vs 2027 15 added 49 missing 5 changed

Flip API Versions →

Added in 2021 (new since 2027)

CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarFreeFormValidationResult%) CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarFreeFormValidationResult%) CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Boolean, Boolean) CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, Boolean, Boolean) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId) GetHookOrientation(Int32) GetHookRotationAngle(Int32) IsSolidInView(View3D) RebarShapeMatchesCurvesAndHooks(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation) RebarShapeMatchesCurvesHooksAndEndTreatment(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId) SetHookOrientation(Int32, RebarHookOrientation) SetHookRotationAngle(Double, Int32) SetSolidInView(View3D, Boolean) DistributionType

Missing in 2021 (only available in 2027)

AreBarIndicesValidForSplit(Document, ElementId, ISet<Int32>) CanElementBeSplit(Document, ElementId) ComputeSpacingsBetweenBars(Document, String, Double) CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarStyle) CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarStyle) CreateFromCurves(Document, RebarStyle, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData, Boolean, Boolean) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData) EnableCrankLengthOverride(Boolean) GetBarIndexFromReference(Reference) GetCrankAngledLength(Int32) GetCrankLength(Int32) GetCrankOffsetLength(Int32) GetCrankRatio(Int32) GetCrankStraightLength(Int32) GetCrankTypeId(Int32) GetLapLength(Int32) GetLayoutFormula(Boolean) GetMovedBarTransform(Int32) GetOverridableCrankParameters GetRebarSplice(Int32) GetSpacingsBetweenBars GetSpliceStaggerLength(Int32) GetTerminationOrientation(Int32) GetTerminationRotationAngle(Int32) GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32) IsCrankLengthOverrideEnabled IsCustomSpacingWithPredefinedNumberOfBars IsValidCustomSpacingFormula(Document, String) MoveBarInSet(Int32, Transform) RemoveSplice(Int32) ResetMovedBarTransform(Int32) SetBarIncluded(Boolean, Int32) SetCrankAngledLengthOverride(Int32, Double) SetCrankLengthOverride(Int32, Double) SetCrankOffsetLengthOverride(Int32, Double) SetCrankRatioOverride(Int32, Double) SetCrankStraightLengthOverride(Int32, Double) SetCrankTypeId(Int32, ElementId) SetLayoutFormula(String) SetTerminationOrientation(Int32, RebarTerminationOrientation) SetTerminationRotationAngle(Int32, Double) SplitRebar(Document, ElementId, ISet<Int32>, Boolean, Boolean) CanHaveVaryingLengthBars FreeForm3DPathServerGuid FreeFormAlignedServerGuid FreeFormMorphedServerGuid FreeFormSurfaceServerGuid HasVariableLengthBars Mass

Changed members

Rebar.CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
doc Document A document.
rebarShape RebarShape A RebarShape element that defines the shape of the rebar.
barType RebarBarType A RebarBarType element that defines bar diameter, bend radius and material of the rebar.
host Element The element to which the rebar belongs. The element must support rebar hosting; <span class="noLink">[!:Autodesk::Revit::DB::Structure::RebarHostData]</span>.
origin XYZ The lower-left corner of the shape's bounding box will be placed at this point in the project.
xVec XYZ The x-axis in the shape definition will be mapped to this direction in the project.
yVec XYZ The y-axis in the shape definition will be mapped to this direction in the project.
→ returns nullNothingnullptrRebar The newly created Rebar instance, or if the operation fails.
Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection Boolean If the curves overlap, as in a planar stirrup, this parameter controls whether they should be adjusted to avoid intersection (as in fine views), or kept in a single plane for simplicity (as in coarse views).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. This is useful for rebar sets that have varying length bars. In this case you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index If the rebar set don't have varying bars, the form of the bars does not vary from one index to another.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList The centerline curves or empty array if the curves cannot be computed because the parameters values are inconsistent with the constraints of the RebarShape definition.
Rebar.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
end Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.

Changes in 2022 vs 2027 15 added 43 missing 6 changed

Flip API Versions →

Added in 2022 (new since 2027)

CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarFreeFormValidationResult%) CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarFreeFormValidationResult%) CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Boolean, Boolean) CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, Boolean, Boolean) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId) GetHookOrientation(Int32) GetHookRotationAngle(Int32) IsSolidInView(View3D) RebarShapeMatchesCurvesAndHooks(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation) RebarShapeMatchesCurvesHooksAndEndTreatment(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId) SetHookOrientation(Int32, RebarHookOrientation) SetHookRotationAngle(Double, Int32) SetSolidInView(View3D, Boolean) DistributionType

Missing in 2022 (only available in 2027)

AreBarIndicesValidForSplit(Document, ElementId, ISet<Int32>) CanElementBeSplit(Document, ElementId) ComputeSpacingsBetweenBars(Document, String, Double) CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarStyle) CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarStyle) CreateFromCurves(Document, RebarStyle, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData, Boolean, Boolean) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData) EnableCrankLengthOverride(Boolean) GetCrankAngledLength(Int32) GetCrankLength(Int32) GetCrankOffsetLength(Int32) GetCrankRatio(Int32) GetCrankStraightLength(Int32) GetCrankTypeId(Int32) GetLapLength(Int32) GetLayoutFormula(Boolean) GetOverridableCrankParameters GetRebarSplice(Int32) GetSpacingsBetweenBars GetSpliceStaggerLength(Int32) GetTerminationOrientation(Int32) GetTerminationRotationAngle(Int32) IsCrankLengthOverrideEnabled IsCustomSpacingWithPredefinedNumberOfBars IsValidCustomSpacingFormula(Document, String) RemoveSplice(Int32) SetCrankAngledLengthOverride(Int32, Double) SetCrankLengthOverride(Int32, Double) SetCrankOffsetLengthOverride(Int32, Double) SetCrankRatioOverride(Int32, Double) SetCrankStraightLengthOverride(Int32, Double) SetCrankTypeId(Int32, ElementId) SetLayoutFormula(String) SetTerminationOrientation(Int32, RebarTerminationOrientation) SetTerminationRotationAngle(Int32, Double) SplitRebar(Document, ElementId, ISet<Int32>, Boolean, Boolean) CanHaveVaryingLengthBars FreeForm3DPathServerGuid FreeFormAlignedServerGuid FreeFormMorphedServerGuid FreeFormSurfaceServerGuid HasVariableLengthBars Mass

Changed members

Rebar.CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
doc Document A document.
rebarShape RebarShape A RebarShape element that defines the shape of the rebar.
barType RebarBarType A RebarBarType element that defines bar diameter, bend radius and material of the rebar.
host Element The element to which the rebar belongs. The element must support rebar hosting; <span class="noLink">[!:Autodesk::Revit::DB::Structure::RebarHostData]</span>.
origin XYZ The lower-left corner of the shape's bounding box will be placed at this point in the project.
xVec XYZ The x-axis in the shape definition will be mapped to this direction in the project.
yVec XYZ The y-axis in the shape definition will be mapped to this direction in the project.
→ returns nullNothingnullptrRebar The newly created Rebar instance, or if the operation fails.
Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection Boolean If the curves overlap, as in a planar stirrup, this parameter controls whether they should be adjusted to avoid intersection (as in fine views), or kept in a single plane for simplicity (as in coarse views).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. This is useful for rebar sets that have varying length bars. In this case you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index If the rebar set don't have varying bars, the form of the bars does not vary from one index to another.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList The centerline curves or empty array if the curves cannot be computed because the parameters values are inconsistent with the constraints of the RebarShape definition.
Rebar.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection Boolean If the curves overlap, as in a planar stirrup, this parameter controls whether they should be adjusted to avoid intersection (as in fine views), or kept in a single plane for simplicity (as in coarse views).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 The bar index.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList The centerline curves or empty array if the curves cannot be computed because the parameters values are inconsistent with the constraints of the RebarShape definition.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
end Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.

Changes in 2023 vs 2027 15 added 43 missing 6 changed

Flip API Versions →

Added in 2023 (new since 2027)

CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarFreeFormValidationResult%) CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarFreeFormValidationResult%) CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Boolean, Boolean) CreateFromCurves(Document, RebarStyle, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId, Boolean, Boolean) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, RebarHookType, RebarHookType, Element, XYZ, IList<Curve>, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId) GetHookOrientation(Int32) GetHookRotationAngle(Int32) IsSolidInView(View3D) RebarShapeMatchesCurvesAndHooks(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation) RebarShapeMatchesCurvesHooksAndEndTreatment(RebarShape, RebarBarType, XYZ, IList<Curve>, RebarHookType, RebarHookType, RebarHookOrientation, RebarHookOrientation, Double, Double, ElementId, ElementId) SetHookOrientation(Int32, RebarHookOrientation) SetHookRotationAngle(Double, Int32) SetSolidInView(View3D, Boolean) DistributionType

Missing in 2023 (only available in 2027)

AreBarIndicesValidForSplit(Document, ElementId, ISet<Int32>) CanElementBeSplit(Document, ElementId) ComputeSpacingsBetweenBars(Document, String, Double) CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarStyle) CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarStyle) CreateFromCurves(Document, RebarStyle, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData, Boolean, Boolean) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData) EnableCrankLengthOverride(Boolean) GetCrankAngledLength(Int32) GetCrankLength(Int32) GetCrankOffsetLength(Int32) GetCrankRatio(Int32) GetCrankStraightLength(Int32) GetCrankTypeId(Int32) GetLapLength(Int32) GetLayoutFormula(Boolean) GetOverridableCrankParameters GetRebarSplice(Int32) GetSpacingsBetweenBars GetSpliceStaggerLength(Int32) GetTerminationOrientation(Int32) GetTerminationRotationAngle(Int32) IsCrankLengthOverrideEnabled IsCustomSpacingWithPredefinedNumberOfBars IsValidCustomSpacingFormula(Document, String) RemoveSplice(Int32) SetCrankAngledLengthOverride(Int32, Double) SetCrankLengthOverride(Int32, Double) SetCrankOffsetLengthOverride(Int32, Double) SetCrankRatioOverride(Int32, Double) SetCrankStraightLengthOverride(Int32, Double) SetCrankTypeId(Int32, ElementId) SetLayoutFormula(String) SetTerminationOrientation(Int32, RebarTerminationOrientation) SetTerminationRotationAngle(Int32, Double) SplitRebar(Document, ElementId, ISet<Int32>, Boolean, Boolean) CanHaveVaryingLengthBars FreeForm3DPathServerGuid FreeFormAlignedServerGuid FreeFormMorphedServerGuid FreeFormSurfaceServerGuid HasVariableLengthBars Mass

Changed members

Rebar.CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
doc Document A document.
rebarShape RebarShape A RebarShape element that defines the shape of the rebar.
barType RebarBarType A RebarBarType element that defines bar diameter, bend radius and material of the rebar.
host Element The element to which the rebar belongs. The element must support rebar hosting; <span class="noLink">[!:Autodesk::Revit::DB::Structure::RebarHostData]</span>.
origin XYZ The lower-left corner of the shape's bounding box will be placed at this point in the project.
xVec XYZ The x-axis in the shape definition will be mapped to this direction in the project.
yVec XYZ The y-axis in the shape definition will be mapped to this direction in the project.
→ returns nullNothingnullptrRebar The newly created Rebar instance, or if the operation fails.
Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection Boolean If the curves overlap, as in a planar stirrup, this parameter controls whether they should be adjusted to avoid intersection (as in fine views), or kept in a single plane for simplicity (as in coarse views).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. This is useful for rebar sets that have varying length bars. In this case you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index If the rebar set don't have varying bars, the form of the bars does not vary from one index to another.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList The centerline curves or empty array if the curves cannot be computed because the parameters values are inconsistent with the constraints of the RebarShape definition.
Rebar.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection Boolean If the curves overlap, as in a planar stirrup, this parameter controls whether they should be adjusted to avoid intersection (as in fine views), or kept in a single plane for simplicity (as in coarse views).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 The bar index.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList The centerline curves or empty array if the curves cannot be computed because the parameters values are inconsistent with the constraints of the RebarShape definition.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
end Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.

Changes in 2024 vs 2027 13 added 43 missing 6 changed

Flip API Versions →

Added in 2024 (new since 2027)

Missing in 2024 (only available in 2027)

AreBarIndicesValidForSplit(Document, ElementId, ISet<Int32>) CanElementBeSplit(Document, ElementId) ComputeSpacingsBetweenBars(Document, String, Double) CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarStyle) CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarStyle) CreateFromCurves(Document, RebarStyle, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData, Boolean, Boolean) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData) EnableCrankLengthOverride(Boolean) GetCrankAngledLength(Int32) GetCrankLength(Int32) GetCrankOffsetLength(Int32) GetCrankRatio(Int32) GetCrankStraightLength(Int32) GetCrankTypeId(Int32) GetLapLength(Int32) GetLayoutFormula(Boolean) GetOverridableCrankParameters GetRebarSplice(Int32) GetSpacingsBetweenBars GetSpliceStaggerLength(Int32) GetTerminationOrientation(Int32) GetTerminationRotationAngle(Int32) IsCrankLengthOverrideEnabled IsCustomSpacingWithPredefinedNumberOfBars IsValidCustomSpacingFormula(Document, String) RemoveSplice(Int32) SetCrankAngledLengthOverride(Int32, Double) SetCrankLengthOverride(Int32, Double) SetCrankOffsetLengthOverride(Int32, Double) SetCrankRatioOverride(Int32, Double) SetCrankStraightLengthOverride(Int32, Double) SetCrankTypeId(Int32, ElementId) SetLayoutFormula(String) SetTerminationOrientation(Int32, RebarTerminationOrientation) SetTerminationRotationAngle(Int32, Double) SplitRebar(Document, ElementId, ISet<Int32>, Boolean, Boolean) CanHaveVaryingLengthBars FreeForm3DPathServerGuid FreeFormAlignedServerGuid FreeFormMorphedServerGuid FreeFormSurfaceServerGuid HasVariableLengthBars Mass

Changed members

Rebar.CreateFromRebarShape(Document, RebarShape, RebarBarType, Element, XYZ, XYZ, XYZ)
doc Document A document.
rebarShape RebarShape A RebarShape element that defines the shape of the rebar.
barType RebarBarType A RebarBarType element that defines bar diameter, bend radius and material of the rebar.
host Element The element to which the rebar belongs. The element must support rebar hosting; <span class="noLink">[!:Autodesk::Revit::DB::Structure::RebarHostData]</span>.
origin XYZ The lower-left corner of the shape's bounding box will be placed at this point in the project.
xVec XYZ The x-axis in the shape definition will be mapped to this direction in the project.
yVec XYZ The y-axis in the shape definition will be mapped to this direction in the project.
→ returns nullNothingnullptrRebar The newly created Rebar instance, or if the operation fails.
Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection Boolean If the curves overlap, as in a planar stirrup, this parameter controls whether they should be adjusted to avoid intersection (as in fine views), or kept in a single plane for simplicity (as in coarse views).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. This is useful for rebar sets that have varying length bars. In this case you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index If the rebar set don't have varying bars, the form of the bars does not vary from one index to another.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList The centerline curves or empty array if the curves cannot be computed because the parameters values are inconsistent with the constraints of the RebarShape definition.
Rebar.GetPresentationMode(View)
dBView View The view.
→ returns RebarPresentationMode The presentation mode.
Rebar.GetReinforcementRoundingManager()
→ returns RebarRoundingManager The rounding manager.
Rebar.GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection Boolean If the curves overlap, as in a planar stirrup, this parameter controls whether they should be adjusted to avoid intersection (as in fine views), or kept in a single plane for simplicity (as in coarse views).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 The bar index.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList The centerline curves or empty array if the curves cannot be computed because the parameters values are inconsistent with the constraints of the RebarShape definition.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
end Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.

Changes in 2025 vs 2027 13 added 37 missing 3 changed

Flip API Versions →

Added in 2025 (new since 2027)

Missing in 2025 (only available in 2027)

AreBarIndicesValidForSplit(Document, ElementId, ISet<Int32>) CanElementBeSplit(Document, ElementId) ComputeSpacingsBetweenBars(Document, String, Double) CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarStyle) CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarStyle) CreateFromCurves(Document, RebarStyle, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData, Boolean, Boolean) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData) EnableCrankLengthOverride(Boolean) GetCrankAngledLength(Int32) GetCrankLength(Int32) GetCrankOffsetLength(Int32) GetCrankRatio(Int32) GetCrankStraightLength(Int32) GetCrankTypeId(Int32) GetLayoutFormula(Boolean) GetOverridableCrankParameters GetSpacingsBetweenBars GetTerminationOrientation(Int32) GetTerminationRotationAngle(Int32) IsCrankLengthOverrideEnabled IsCustomSpacingWithPredefinedNumberOfBars IsValidCustomSpacingFormula(Document, String) SetCrankAngledLengthOverride(Int32, Double) SetCrankLengthOverride(Int32, Double) SetCrankOffsetLengthOverride(Int32, Double) SetCrankRatioOverride(Int32, Double) SetCrankStraightLengthOverride(Int32, Double) SetCrankTypeId(Int32, ElementId) SetLayoutFormula(String) SetTerminationOrientation(Int32, RebarTerminationOrientation) SetTerminationRotationAngle(Int32, Double) SplitRebar(Document, ElementId, ISet<Int32>, Boolean, Boolean) FreeForm3DPathServerGuid FreeFormAlignedServerGuid FreeFormMorphedServerGuid FreeFormSurfaceServerGuid Mass

Changed members

Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection Boolean If the curves overlap, as in a planar stirrup, this parameter controls whether they should be adjusted to avoid intersection (as in fine views), or kept in a single plane for simplicity (as in coarse views).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. This is useful for rebar sets that have varying length bars. In this case you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index If the rebar set don't have varying bars, the form of the bars does not vary from one index to another.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList The centerline curves or empty array if the curves cannot be computed because the parameters values are inconsistent with the constraints of the RebarShape definition.
Rebar.GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection Boolean If the curves overlap, as in a planar stirrup, this parameter controls whether they should be adjusted to avoid intersection (as in fine views), or kept in a single plane for simplicity (as in coarse views).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 The bar index.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList The centerline curves or empty array if the curves cannot be computed because the parameters values are inconsistent with the constraints of the RebarShape definition.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
end Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.

Changes in 2025.3 vs 2027 13 added 37 missing 3 changed

Flip API Versions →

Added in 2025.3 (new since 2027)

Missing in 2025.3 (only available in 2027)

AreBarIndicesValidForSplit(Document, ElementId, ISet<Int32>) CanElementBeSplit(Document, ElementId) ComputeSpacingsBetweenBars(Document, String, Double) CreateFreeForm(Document, RebarBarType, Element, IList<CurveLoop>, RebarStyle) CreateFreeForm(Document, RebarBarType, Element, IList<IList<Curve>>, RebarStyle) CreateFromCurves(Document, RebarStyle, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData, Boolean, Boolean) CreateFromCurvesAndShape(Document, RebarShape, RebarBarType, Element, XYZ, IList<Curve>, BarTerminationsData) EnableCrankLengthOverride(Boolean) GetCrankAngledLength(Int32) GetCrankLength(Int32) GetCrankOffsetLength(Int32) GetCrankRatio(Int32) GetCrankStraightLength(Int32) GetCrankTypeId(Int32) GetLayoutFormula(Boolean) GetOverridableCrankParameters GetSpacingsBetweenBars GetTerminationOrientation(Int32) GetTerminationRotationAngle(Int32) IsCrankLengthOverrideEnabled IsCustomSpacingWithPredefinedNumberOfBars IsValidCustomSpacingFormula(Document, String) SetCrankAngledLengthOverride(Int32, Double) SetCrankLengthOverride(Int32, Double) SetCrankOffsetLengthOverride(Int32, Double) SetCrankRatioOverride(Int32, Double) SetCrankStraightLengthOverride(Int32, Double) SetCrankTypeId(Int32, ElementId) SetLayoutFormula(String) SetTerminationOrientation(Int32, RebarTerminationOrientation) SetTerminationRotationAngle(Int32, Double) SplitRebar(Document, ElementId, ISet<Int32>, Boolean, Boolean) FreeForm3DPathServerGuid FreeFormAlignedServerGuid FreeFormMorphedServerGuid FreeFormSurfaceServerGuid Mass

Changed members

Rebar.GetCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection Boolean If the curves overlap, as in a planar stirrup, this parameter controls whether they should be adjusted to avoid intersection (as in fine views), or kept in a single plane for simplicity (as in coarse views).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 An index between 0 and (NumberOfBarPositions-1). Use the barPositionIndex to obtain all the curves at a specific index in the distribution. You can use GetNumberOfBarPositions() to verify if a specific rebar has more than one bar positions. This is useful for rebar sets that have varying length bars. In this case you can retrieve the centerline curve geometry of that particular bar, by passing the appropriate index If the rebar set don't have varying bars, the form of the bars does not vary from one index to another.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList The centerline curves or empty array if the curves cannot be computed because the parameters values are inconsistent with the constraints of the RebarShape definition.
Rebar.GetTransformedCenterlineCurves(Boolean, Boolean, Boolean, MultiplanarOption, Int32, Boolean)
adjustForSelfIntersection Boolean If the curves overlap, as in a planar stirrup, this parameter controls whether they should be adjusted to avoid intersection (as in fine views), or kept in a single plane for simplicity (as in coarse views).
suppressHooksAndCranks Boolean Identifies if the chain will include hooks and the crank curves.
suppressBendRadius Boolean Identifies if the connected chain will include unfilleted curves.
multiplanarOption MultiplanarOption If the Rebar is a multi-planar shape, this parameter controls whether to generate only the curves in the primary plane (IncludeOnlyPlanarCurves), or to generate all curves, (IncludeAllMultiplanarCurves) including the out-of-plane connector segments as well as multi-planar copies of the primary plane curves. This argument is ignored for planar shapes.
barPositionIndex Int32 The bar index.
suppressHooks Boolean Identifies if the chain will include hooks curves.
→ returns IList The centerline curves or empty array if the curves cannot be computed because the parameters values are inconsistent with the constraints of the RebarShape definition.
Rebar.HookAngleMatchesRebarShapeDefinition(Int32, ElementId, Int32)
end Int32 0 for the start hook, 1 for the end hook.
proposedHookId ElementId The Id of the RebarHookType
iEnd Int32 0 for the start hook, 1 for the end hook.
→ returns Boolean Returns true if the hook angle of the RebarHookType matches the angle used in the RebarShape at the specified end of the bar.

Changes in 2026 vs 2027 12 added 12 missing

Flip API Versions →

Added in 2026 (new since 2027)

Missing in 2026 (only available in 2027)