Revit 2026 API
Rebar |
Identifies the way bars are shifted in the splice relation.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static RebarSpliceShiftOption GetShiftOption( Document document, ElementId rebarSpliceTypeId )
Public Shared Function GetShiftOption ( document As Document, rebarSpliceTypeId As ElementId ) As RebarSpliceShiftOption
public: static RebarSpliceShiftOption GetShiftOption( Document^ document, ElementId^ rebarSpliceTypeId )
static member GetShiftOption : document : Document * rebarSpliceTypeId : ElementId -> RebarSpliceShiftOption
Parameters
Return Value
RebarSpliceShiftOptionReturns the way bars are shifted in the splice relation.
| Exception | Condition |
|---|---|
| ArgumentException | The rebarSpliceTypeId doesn't represent a valid Rebar Splice Type. It should be an ElementType of BuiltInCategory.OST_RebarSpliceType category. |
| ArgumentNullException | A non-optional argument was null |
See Also