Share

SweptProfile 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: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class SweptProfile : IDisposable

The SweptProfile type exposes the following members.

Properties

 NameDescription
Public propertyEndSetBack The distance from the end of the driving curve to the point where the sweep actually ends.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyStartSetBack The distance from the start of the driving curve to the point where the sweep actually begins.

Methods

 NameDescription
Public methodDisposeReleases all resources used by the SweptProfile
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetDrivingCurve Provides access to the curve that dictates the path of the swept profile.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetSweptProfile Returns an object that describes the profile that is swept along the driving curve.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns 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.

See Also

Reference

Was this information helpful?