PathReinforcement.RemovePathReinforcementSystem Method

PathReinforcementRemovePathReinforcementSystem Method

Deletes the specified PathReinforcement, and converts its RebarInSystem elements to equivalent Rebar elements.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static IList<ElementId> RemovePathReinforcementSystem(
	Document doc,
	PathReinforcement system
)
Public Shared Function RemovePathReinforcementSystem ( 
	doc As Document,
	system As PathReinforcement
) As IList(Of ElementId)
public:
static IList<ElementId^>^ RemovePathReinforcementSystem(
	Document^ doc, 
	PathReinforcement^ system
)
static member RemovePathReinforcementSystem : 
        doc : Document * 
        system : PathReinforcement -> IList<ElementId> 

Parameters

doc  Document
The document.
system  PathReinforcement
A PathReinforcement element in the document.

Return Value

IListElementId
The ids of the newly created Rebar elements.
Exceptions
ExceptionCondition
ArgumentException The element system was not found in the given document. -or- system does not host Rebar.
ArgumentNullException A non-optional argument was null
See Also