AreaReinforcement.RemoveAreaReinforcementSystem
Method
Description:
Deletes the specified AreaReinforcement, and converts its RebarInSystem elements to equivalent Rebar elements.
Deletes the specified AreaReinforcement, and converts its RebarInSystem elements to equivalent Rebar elements.
Syntax
public static IList<ElementId> RemoveAreaReinforcementSystem(
Document doc,
AreaReinforcement system
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| doc | Document | The document. |
| system | AreaReinforcement | An AreaReinforcement element in the document. |
Return Value
| Type | Description |
|---|---|
| IList | The ids of the newly created Rebar elements. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The element system was not found in the given document. -or- system does not host Rebar. |
| ArgumentNullException | A non-optional argument was null |