PhotometricWebLightDistribution Constructor (String, Double)


Creates a photometric web light distribution object with the given filename and tilt.

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

Syntax

C#
public PhotometricWebLightDistribution(
	string photometricWebFile,
	double tiltAngle
)
Visual Basic
Public Sub New ( _
	photometricWebFile As String, _
	tiltAngle As Double _
)
Visual C++
public:
PhotometricWebLightDistribution(
	String^ photometricWebFile, 
	double tiltAngle
)

Parameters

photometricWebFile
Type: System String
The filename of the IES file to use.
tiltAngle
Type: System Double
The tilt angle as a numerical value in degrees between -180.0 and 180.0.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL
Autodesk.Revit.Exceptions ArgumentOutOfRangeException The angle is not valid because it is not between -180.0 and 180.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 →