2027 Class
Changes 5
C

RebarSpliceUtils

Description:
Class with different utilities for Rebar Splice.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Structure.RebarSpliceUtils
public static class RebarSpliceUtils
Name Return Type Description
M CanRebarBeSpliced(Rebar, RebarSpliceOptions, RebarSpliceGeometry) RebarSpliceError Verifies if the rebar can be spliced with the RebarSpliceGeometry.
M CanRebarBeSpliced(Rebar, RebarSpliceOptions, Line, ElementId) RebarSpliceError Verifies if the rebar can be spliced with the provided line.
M CanRebarBeSpliced(Rebar, RebarSpliceOptions, Line, XYZ) RebarSpliceError Verifies if the rebar can be spliced with the provided line.
M GetLapDirectionForSpliceGeometryAndPosition(Rebar, RebarSpliceGeometry, RebarSplicePosition) XYZ This function calculates the lap direction given a RebarSpliceGeometry and a RebarSplicePosition.
M GetSpliceChain(Rebar) IList<ElementId> Returns all the rebars that are part of a splice chain with the input rebar.
M GetSpliceGeometries(Document, ElementId, RebarSpliceOptions, RebarSpliceRules) RebarSpliceByRulesResult Computes a list of RebarSpliceGeometry which respects the rules. This list can be used to splice the Rebar.
M SpliceRebar(Document, ElementId, RebarSpliceOptions, IList<RebarSpliceGeometry>) IList<ElementId> Splice a rebar with a list of RebarSpliceGeometry.
M SpliceRebar(Document, ElementId, RebarSpliceOptions, Line, ElementId) IList<ElementId> Splice a Rebar with a line.
M SpliceRebar(Document, ElementId, RebarSpliceOptions, Line, XYZ) IList<ElementId> Splice a rebar with a line.
M UnifyRebarsIntoOne(Document, ElementId, ElementId) ElementId This method will unify the rebars by removing the splice between them. A new rebar will be created because of this operation. The curves of the resulted rebar will be the curves of the first rebar continued by the curves of the second rebar. The resulted rebar will take data from the first rebar. (e.g.. layout, moved/removed bars, etc.).