Skip to main content

Speos NX library 2025 R2

SourceRayFileBuilder Class Reference

Last update: 16.07.2025

Represents the builder for a ray file source. More...

Inheritance diagram for SourceRayFileBuilder:
FeatureBuilderBuilder

Static Public Attributes

str AxisSystem = property(fget=__GetAxisSystem)
 Gets the axis system.
 
str ExitGeometries = property(fget=__GetExitGeometries, fset=__SetExitGeometries)
 Gets or sets exit geometries.
 
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 fetching the flux from file.
 
str FluxUnit = property(fget=__GetFluxUnit, fset=__SetFluxUnit)
 Gets or sets the flux unit.
 
str NumberOfRays = property(fget=__GetNumberOfRays, fset=__SetNumberOfRays)
 Gets or sets the number of rays.
 
str RayFilePath = property(fget=__GetRayFilePath, fset=__SetRayFilePath)
 Gets or sets the ray file path.
 
str RayLength = property(fget=__GetRayLength, fset=__SetRayLength)
 Gets or sets the ray length.
 
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 temperature.
 
str Wavelength = property(fget=__GetWavelength, fset=__SetWavelength)
 Gets or sets the wavelength.
 
- 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 ray file source.

The ray file source builder is used to create and edit ray file source features.

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

Member Data Documentation

◆ AxisSystem

str AxisSystem = property(fget=__GetAxisSystem)
static

Gets the axis system.

Value type: AxisSystem object.

◆ ExitGeometries

str ExitGeometries = property(fget=__GetExitGeometries, fset=__SetExitGeometries)
static

Gets or sets exit geometries.

The ExitGeometries property takes a list of feature tag and returns a list of feature tag.

Value type: List of integer.

The default value is an empty list.

◆ Flux

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

Gets or sets the flux.

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

By default the value comes from the ray file, otherwise value is 683. lumen.

◆ FluxFromFile

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

Gets or sets the property to enable fetching the flux from file.

True: Enables fetching the flux from file.
False: Disables fetching 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.

The values are:
0 - lumen (lm).
1 - watt (W).

Value type: Integer.

The default value is 0.

◆ 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.

◆ RayFilePath

str RayFilePath = property(fget=__GetRayFilePath, fset=__SetRayFilePath)
static

Gets or sets the ray file path.

Value type: String.

The default value is an empty string.

◆ RayLength

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

Gets or sets the ray length.

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

The default value is 75.0 mm.

◆ Spectrum

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

Gets or sets the spectrum type.

The values are:
0 - Monochromatic, with this value the wavelength property is available.
1 - Blackbody, with this value the temperature property is available.
2 - Library, with this value the spectrum file property is available.

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 SpectrumType 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 temperature.

Prerequisite: The SpectrumType must be 0.

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

The default value is 2856.0 K.

◆ Wavelength

str Wavelength = property(fget=__GetWavelength, fset=__SetWavelength)
static

Gets or sets the wavelength.

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

The default value is 555.0 nm.


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

Connect with Ansys