RebarBendingDetail.Create
Method
Description:
Creates a new instance of a bending detail.
Creates a new instance of a bending detail.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | Document to which the new element should be added. |
| viewId | ElementId | The id of the view in which the new element should be added. |
| reinforcementElementId | ElementId | The reinforcement element Id that this object will represent. |
| reinforcementElementSubelementKey | Int32 | The index of the sub-element from the reinforcement element that this object will represent. |
| bendingDetailType | RebarBendingDetailType | The bending details type used with the resulting object. |
| position | XYZ | The initial position in the view where this object will be created. |
| rotation | Double | The initial rotation in the view for this element. |
Return Value
| Type | Description |
|---|---|
| Element | Returns an instance of a bending detail. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |