Share

RebarSpliceOptions Constructor

Constructs a RebarSpliceOptions


Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public RebarSpliceOptions(
	Document document,
	ElementId spliceTypeId,
	RebarSplicePosition splicePosition
)

Parameters

document  Document
The document.
spliceTypeId  ElementId
The splice type id.
splicePosition  RebarSplicePosition
The splice line position.

Exceptions

ExceptionCondition
ArgumentException The provided spliceTypeId is not a Rebar Splice Type id. It should be an ElementType of BuiltInCategory.OST_RebarSpliceType category.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also

Reference

Was this information helpful?