GetLegacyStairsProperties Method


Returns one or more properties for legacy (created in R2012 or before) Stairs.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2013

Syntax

C#
public static void GetLegacyStairsProperties(
	ExporterIFC exporterIFC,
	Element pElement,
	out int pNumRisers,
	out int pNumTreads,
	out double pRiserHeight,
	out double pTreadLength,
	out double pMinTreadLength,
	out double pNosingLength,
	out double pWaistThickness
)
Visual Basic
Public Shared Sub GetLegacyStairsProperties ( _
	exporterIFC As ExporterIFC, _
	pElement As Element, _
	<OutAttribute> ByRef pNumRisers As Integer, _
	<OutAttribute> ByRef pNumTreads As Integer, _
	<OutAttribute> ByRef pRiserHeight As Double, _
	<OutAttribute> ByRef pTreadLength As Double, _
	<OutAttribute> ByRef pMinTreadLength As Double, _
	<OutAttribute> ByRef pNosingLength As Double, _
	<OutAttribute> ByRef pWaistThickness As Double _
)
Visual C++
public:
static void GetLegacyStairsProperties(
	ExporterIFC^ exporterIFC, 
	Element^ pElement, 
	[OutAttribute] int% pNumRisers, 
	[OutAttribute] int% pNumTreads, 
	[OutAttribute] double% pRiserHeight, 
	[OutAttribute] double% pTreadLength, 
	[OutAttribute] double% pMinTreadLength, 
	[OutAttribute] double% pNosingLength, 
	[OutAttribute] double% pWaistThickness
)

Parameters

exporterIFC
Type: Autodesk.Revit.DB.IFCExporterIFC
The exporter.
pElement
Type: Autodesk.Revit.DBElement
the legacy stair.
pNumRisers
Type: SystemInt32%
Number of Risers in the Stair.
pNumTreads
Type: SystemInt32%
Number of Treads in the Stair.
pRiserHeight
Type: SystemDouble%
Riser Height of the risers in the Stair.
pTreadLength
Type: SystemDouble%
Tread length of the treads in the Stair.
pMinTreadLength
Type: SystemDouble%
Minimum Tread length of the treads in the Stair.
pNosingLength
Type: SystemDouble%
Nosing length of the treads in the Stair.
pWaistThickness
Type: SystemDouble%
Waist thickness of the flight of stair.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null

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 →