Skip to main content

Speos NX library 2025 R2

SourceLuminaireBuilder Class Reference

Last update: 16.07.2025

Represents the builder for a luminaire source. More...

Inheritance diagram for SourceLuminaireBuilder:
FeatureBuilderBuilder

Static Public Attributes

str AxisSystem = property(fget=__GetAxisSystem)
 Gets the axis system.
 
str Flux = property(fget=__GetFlux, fset=__SetFlux)
 Gets or sets the flux.
 
str FluxFromFile = property(fget=__GetFluxFromFile, fset=__SetFluxFromFile)
 Gets or sets the property to enable or disable getting the flux from file.
 
str FluxUnit = property(fget=__GetFluxUnit, fset=__SetFluxUnit)
 Gets or sets the flux unit.
 
str IntensityFilePath = property(fget=__GetIntensityFilePath, fset=__SetIntensityFilePath)
 Gets or sets the intensity distribution file path.
 
str NumberOfRays = property(fget=__GetNumberOfRays, fset=__SetNumberOfRays)
 Gets or sets the number of rays.
 
str RayLength = property(fget=__GetRayLength, fset=__SetRayLength)
 Gets or sets the ray length.
 
str ShowIntensityDistribution = property(fget=__GetShowIntensityDistribution, fset=__SetShowIntensityDistribution)
 Gets or sets the property to show the intensity distribution in the 3D view.
 
str Spectrum = property(fget=__GetSpectrum, fset=__SetSpectrum)
 Gets or sets the spectrum type.
 
str SpectrumFilePath = property(fget=__GetSpectrumFilePath, fset=__SetSpectrumFilePath)
 Gets or sets the spectrum file path.
 
str Temperature = property(fget=__GetTemperature, fset=__SetTemperature)
 Gets or sets the spectrum temperature.
 
- Static Public Attributes inherited from FeatureBuilder
str Feature = property(fget=__GetFeature)
 Returns the feature being edited, or the created feature if the builder is being used in creation mode.
 
str FullName = property(fget=__GetFullName)
 Gets the full name of the feature being edited.
 
str Name = property(fget=__GetName, fset=__SetName)
 Gets or sets the name of the feature being edited.
 
str NameWithContext = property(fget=__GetNameWithContext)
 Gets the name with context of the feature being edited.
 
str Status = property(fget=__GetStatus)
 Returns the status of the feature being edited.
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Properties inherited from FeatureBuilder
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Properties inherited from Builder
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Additional Inherited Members

- Public Member Functions inherited from FeatureBuilder
'None' ShowResult (self)
 Updates the feature to reflect the result of an edit to the feature for all builders that support showing results.
 
- Public Member Functions inherited from Builder
'None' Commit (self)
 Commits any edits that have been applied to the builder.
 

Detailed Description

Represents the builder for a luminaire source.

The luminaire source builder is used to create and edit luminaire source features.

To create a new instance of this class, use FeatureCollection::CreateSourceLuminaireBuilder

Member Data Documentation

◆ AxisSystem

str AxisSystem = property(fget=__GetAxisSystem)
static

Gets the axis system.

Value type: AxisSystem object.

◆ Flux

str Flux = property(fget=__GetFlux, fset=__SetFlux)
static

Gets or sets the flux.

Prerequisite: The IsFluxFromFile property must be False.

Value type: Double (in lm or W).
Range: The value must be superior to 0.0.

The default value is 683.0.

◆ FluxFromFile

str FluxFromFile = property(fget=__GetFluxFromFile, fset=__SetFluxFromFile)
static

Gets or sets the property to enable or disable getting the flux from file.

True: Enables getting the flux from file.
False: Disables getting the flux from file.

Value type: Boolean.

The default value is True.

◆ FluxUnit

str FluxUnit = property(fget=__GetFluxUnit, fset=__SetFluxUnit)
static

Gets or sets the flux unit.

Prerequisite: The IsFluxFromFile property must be False or The IntensityFile property must be set.

The values are:
0 - Lumen.
1 - Watt.

Value type: Integer.

The default value is 0.

◆ IntensityFilePath

str IntensityFilePath = property(fget=__GetIntensityFilePath, fset=__SetIntensityFilePath)
static

Gets or sets the intensity distribution file path.

Value type: String.

The default value is an empty string.

◆ NumberOfRays

str NumberOfRays = property(fget=__GetNumberOfRays, fset=__SetNumberOfRays)
static

Gets or sets the number of rays.

Value type: Integer.
Range: The value must be superior or equal to 0.

The default value is 100.

◆ RayLength

str RayLength = property(fget=__GetRayLength, fset=__SetRayLength)
static

Gets or sets the ray length.

Value type: Double (in mm).
Range: The value must be superior to 0.0.

The default value is 75.0 mm.

◆ ShowIntensityDistribution

str ShowIntensityDistribution = property(fget=__GetShowIntensityDistribution, fset=__SetShowIntensityDistribution)
static

Gets or sets the property to show the intensity distribution in the 3D view.

True: Shows the intensity distribution in the 3D view.
False: Does not show the intensity distribution in the 3D view.

The default value is False.

◆ Spectrum

str Spectrum = property(fget=__GetSpectrum, fset=__SetSpectrum)
static

Gets or sets the spectrum type.

The values are:
0 - Blackbody, with this value the Temperature property is available.
1 - Library, with this value the File property is available.
2 - Incandescent.
3 - Warmwhite fluorescent.
4 - Daylight fluorescent.
5 - White LED.
6 - Halogen.
7 - Metal halide.
8 - High pressure sodium.

Value type: Integer.

The default value is 0.

◆ SpectrumFilePath

str SpectrumFilePath = property(fget=__GetSpectrumFilePath, fset=__SetSpectrumFilePath)
static

Gets or sets the spectrum file path.

Prerequisite: The spectrum type must be 1.

Value type: String.

The default value is an empty string.

◆ Temperature

str Temperature = property(fget=__GetTemperature, fset=__SetTemperature)
static

Gets or sets the spectrum temperature.

Prerequisite: The spectrum type must be 0.

Value type: Double (in Kelvin).
Range: The value must be superior to 0.0.

The default value is 2856.0 Kelvin.


The documentation for this class was generated from the following file:
  • SpeosNX_2412.py

Connect with Ansys