Rebar.GetCouplerId
Method
Description:
Get the id of the Rebar Coupler that is applied to the rebar at the specified end.
Get the id of the Rebar Coupler that is applied to the rebar at the specified end.
Parameters
| Parameter | Type | Description |
|---|---|---|
| end | Int32 | 0 for the start Rebar Coupler, 1 for the end Rebar Coupler. |
Return Value
| Type | Description |
|---|---|
| ElementId | The id of a Rebar Coupler, or invalidElementId if the rebar has no Rebar Coupler at the specified end. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | end must be 0 or 1. |