> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SourceRayFileBuilder Class Reference

Represents the builder for a ray file source.

Inheritance diagram for SourceRayFileBuilder:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_source_ray_file_builder.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=6f4929dde764c6faa2aa888d9a6ed65b)

## Static Public Attributes

| Type | Name |
| - | - |
| str | [AxisSystem](#af0a012d49a5b59a4f43bb342b8c725c2) = property(fget=\_\_GetAxisSystem) Gets the axis system. |
| str | [ExitGeometries](#abcc911cc5f0fad6600039e4e396ff73d) = property(fget=\_\_GetExitGeometries, fset=\_\_SetExitGeometries) Gets or sets exit geometries. |
| str | [Flux](#a493e918b625a1c115dbe4962fa41d2f9) = property(fget=\_\_GetFlux, fset=\_\_SetFlux) Gets or sets the flux. |
| str | [FluxFromFile](#a986d2ab17e563550abc018a4a98f53ba) = property(fget=\_\_GetFluxFromFile, fset=\_\_SetFluxFromFile) Gets or sets the property to enable fetching the flux from file. |
| str | [FluxUnit](#af43355cfe1d66fcc1fe101275c2f23a3) = property(fget=\_\_GetFluxUnit, fset=\_\_SetFluxUnit) Gets or sets the flux unit. |
| str | [NumberOfRays](#aaa149f4084199f582574fb95a19750ec) = property(fget=\_\_GetNumberOfRays, fset=\_\_SetNumberOfRays) Gets or sets the number of rays. |
| str | [RayFilePath](#a4ba234b7d8a3e9743ef120aaed1943d2) = property(fget=\_\_GetRayFilePath, fset=\_\_SetRayFilePath) Gets or sets the ray file path. |
| str | [RayLength](#a24786b401f788b91236f7c5238005822) = property(fget=\_\_GetRayLength, fset=\_\_SetRayLength) Gets or sets the ray length. |
| str | [Spectrum](#a16de2f6d720c95018e6e4894a84a1878) = property(fget=\_\_GetSpectrum, fset=\_\_SetSpectrum) Gets or sets the spectrum type. |
| str | [SpectrumFilePath](#a92b012ddaebe46fb4504668c118ac6ab) = property(fget=\_\_GetSpectrumFilePath, fset=\_\_SetSpectrumFilePath) Gets or set the spectrum file path. |
| str | [Temperature](#a7339eaf2d641a7dac51923a3dd0b40c9) = property(fget=\_\_GetTemperature, fset=\_\_SetTemperature) Gets or sets the temperature. |
| str | [Wavelength](#ae546bb3e1d15eb5e3d84527989f7edae) = property(fget=\_\_GetWavelength, fset=\_\_SetWavelength) Gets or sets the wavelength. |

> [accordion] Static Public Attributes inherited from FeatureBuilder
>
> Static Public Attributes inherited from [FeatureBuilder](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md)
>
> | Type | Name |
> | - | - |
> | str | [Feature](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#af5dac7005c95ef44c2b66d7270709d0b) = property(fget=\_\_GetFeature) Returns the feature being edited, or the created feature if the builder is being used in creation mode. |
> | str | [FullName](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#a6aac8aea55e1f962045d07a12b6569ea) = property(fget=\_\_GetFullName) Gets the full name of the feature being edited. |
> | str | [Name](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#a19218d0239b929ca8aecfa629d0185d0) = property(fget=\_\_GetName, fset=\_\_SetName) Gets or sets the name of the feature being edited. |
> | str | [NameWithContext](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#a89ee075a30b71ff6e3192d6bd6dd5515) = property(fget=\_\_GetNameWithContext) Gets the name with context of the feature being edited. |

## Additional Inherited Members

> [accordion] Public Member Functions inherited from FeatureBuilder
>
> Public Member Functions inherited from [FeatureBuilder](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md)
>
> | Type | Name |
> | - | - |
> | 'None' | [Commit](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r1/class_speos_n_x_1_1_feature_builder.md#a77581800008ea3179049e650e9d1787b) (self) Commits any edits that have been applied to the builder. |
> | 'None' | **ShowResult** (self) Updates the feature to reflect the result of an edit to the feature for all builders that support showing results. |

## 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

```python theme={null}
str AxisSystem = property(fget=__GetAxisSystem)
```

`static`

Gets the axis system.

**Value type**: AxisSystem object.

### ExitGeometries

```python theme={null}
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

```python theme={null}
str Flux = property(fget=__GetFlux, fset=__SetFlux)
```

`static`

Gets or sets the flux.

**Value type**: Double (in lumen or watt).\
&#x20;**Range**: The value must be superior to 0.0.\


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

### FluxFromFile

```python theme={null}
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.\
&#x20;False: Disables fetching the flux from file.\


**Value type**: Boolean.\


The default value is True.

### FluxUnit

```python theme={null}
str FluxUnit = property(fget=__GetFluxUnit, fset=__SetFluxUnit)
```

`static`

Gets or sets the flux unit.

The values are:\
&#x20;0 - lumen (lm).\
&#x20;1 - watt (W).\


**Value type**: Integer. \


The default value is 0.

### NumberOfRays

```python theme={null}
str NumberOfRays = property(fget=__GetNumberOfRays, fset=__SetNumberOfRays)
```

`static`

Gets or sets the number of rays.

**Value type**: Integer.\
&#x20;**Range**: The value must be superior or equal to 0.\


The default value is 100.

### RayFilePath

```python theme={null}
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

```python theme={null}
str RayLength = property(fget=__GetRayLength, fset=__SetRayLength)
```

`static`

Gets or sets the ray length.

**Value type**: Double (in millimeter).\
&#x20;**Range**: The value must be superior to 0.0.\


The default value is 75.0 mm.

### Spectrum

```python theme={null}
str Spectrum = property(fget=__GetSpectrum, fset=__SetSpectrum)
```

`static`

Gets or sets the spectrum type.

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


**Value type**: Integer.\


The default value is 0.

### SpectrumFilePath

```python theme={null}
str SpectrumFilePath = property(fget=__GetSpectrumFilePath, fset=__SetSpectrumFilePath)
```

`static`

Gets or set the spectrum file path.

**Prerequisite**: The SpectrumType must be 1.\


**Value type**: String.\


The default value is an empty string.

### Temperature

```python theme={null}
str Temperature = property(fget=__GetTemperature, fset=__SetTemperature)
```

`static`

Gets or sets the temperature.

**Prerequisite**: The SpectrumType must be 0.\


**Value type**: double (in Kelvin).\
&#x20;**Range**: The value must be superior to 0.0.\


The default value is 2856.0 K.

### Wavelength

```python theme={null}
str Wavelength = property(fget=__GetWavelength, fset=__SetWavelength)
```

`static`

Gets or sets the wavelength.

**Value type**: Double (in nanometer).\
&#x20;**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.py**
