SweptProfile Class


Swept Profile Class

Represents an extruded profile swept along a driving curve.
Inheritance Hierarchy
System Object
Autodesk.Revit.DB SweptProfile

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class SweptProfile : IDisposable

The SweptProfile type exposes the following members.

Properties
Name Description
Public property EndSetBack The distance from the end of the driving curve to the point where the sweep actually ends.
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public property StartSetBack The distance from the start of the driving curve to the point where the sweep actually begins.
Top
Methods
Name Description
Public method Dispose Releases all resources used by the SweptProfile
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetDrivingCurve Provides access to the curve that dictates the path of the swept profile.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetSweptProfile Returns an object that describes the profile that is swept along the driving curve.
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
Remarks
Elements such as beams may be formed from a profile that has been swept along a curve. This class represents such a form and is used to access the cross section and the underlying curve that make up the Element.
See Also