LineLightShape Constructor (Double)


Creates a line light shape object with the given emit length.

Namespace: Autodesk.Revit.DB.Lighting
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2013

Syntax

C#
public LineLightShape(
	double emitLength
)
Visual Basic
Public Sub New ( _
	emitLength As Double _
)
Visual C++
public:
LineLightShape(
	double emitLength
)

Parameters

emitLength
Type: SystemDouble
The emit length as a numerical value in feet between 1.0e-9 and 30000.0

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException The shape dimension is not valid because it is not between 1.0e-9 and 30000.0.

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 →