Skip to content

SweptProfile

Public 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

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

The distance from the start of the driving curve to the point where the sweep actually begins.


Methods

Name

Description


Public Method

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)


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.