SketchedStairsCurveData Constructor


Construct a SketchedStairsCurveData defined by a curve associated with its height and slope type.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2015

Syntax

C#
public SketchedStairsCurveData(
	Curve boundaryCurve,
	double height,
	SketchedCurveSlopeOption slopeType
)
Visual Basic
Public Sub New ( _
	boundaryCurve As Curve, _
	height As Double, _
	slopeType As SketchedCurveSlopeOption _
)
Visual C++
public:
SketchedStairsCurveData(
	Curve^ boundaryCurve, 
	double height, 
	SketchedCurveSlopeOption slopeType
)

Parameters

boundaryCurve
Type: Autodesk.Revit.DB Curve
height
Type: System Double
slopeType
Type: Autodesk.Revit.DB.Architecture SketchedCurveSlopeOption

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null
Autodesk.Revit.Exceptions ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →