RebarSpliceTypeUtils.GetShiftOption
Method
Description:
Identifies the way bars are shifted in the splice relation.
Identifies the way bars are shifted in the splice relation.
Syntax
public static RebarSpliceShiftOption GetShiftOption(
Document document,
ElementId rebarSpliceTypeId
)
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document. |
rebarSpliceTypeId | ElementId | The Rebar Splice Type id. |
Return Value
Type | Description |
---|---|
RebarSpliceShiftOption | Returns the way bars are shifted in the splice relation. |
Exceptions
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 |