RVTDocs.com
Namespace: Autodesk.Revit.DB Class: HostedSweep

HostedSweep.RemoveSegment

Method
Description:
Remove segments from the hosted sweep object.
Syntax
public void RemoveSegment(
	Reference targetRef
)
Parameters
Parameter Type Description
targetRef Reference Segment's reference which want to be removed.
Return Value
Exceptions
Exception Condition
InvalidOperationException Thrown when regeneration fails.