Revit 2026 API
Photometric |
Creates a photometric web light distribution object with the given filename and tilt.
Namespace: Autodesk.Revit.DB.Lighting
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public PhotometricWebLightDistribution( string photometricWebFile, double tiltAngle )
Public Sub New ( photometricWebFile As String, tiltAngle As Double )
public: PhotometricWebLightDistribution( String^ photometricWebFile, double tiltAngle )
new : photometricWebFile : string * tiltAngle : float -> PhotometricWebLightDistribution
Parameters
- photometricWebFile String
- The filename of the IES file to use.
- tiltAngle Double
- The tilt angle as a numerical value in degrees between -180.0 and 180.0.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| ArgumentOutOfRangeException | The angle is not valid because it is not between -180.0 and 180.0. |
See Also