Skip to main content

ZOS-API interface 2025 R2

ZOSAPI.Tools.Sequences.IViaZRDOrPAFGenerationSettings Interface Reference

Last update: 16.07.2025

Sequence generation settings interface for the Via ZRD or PAF File mode. More...

Inheritance diagram for ZOSAPI.Tools.Sequences.IViaZRDOrPAFGenerationSettings:

Properties

string RayDatabaseFile [get, set]
 The name (with extension, but not including path) of the ray file to process. Can be either a ZRD or PAF file which is present in the same directory as the lens file.
 
string FilterString [get, set]
 Optional filter string to apply when reading the ray file. Only applicable when the RayDatabaseFile is a ZRD file. Defaults to an empty string (no filter).
 
Analysis.RayTracing.PathAnalysisSortType SortBy [get, set]
 Metric by which to sort the resulting generated paths.
 
double RelativeMinimumFlux [get, set]
 Optional minimum flux value which paths must satisfy in order for sequences to be generated. Defaults to 0.
 

Detailed Description

Sequence generation settings interface for the Via ZRD or PAF File mode.

Property Documentation

◆ FilterString

string ZOSAPI.Tools.Sequences.IViaZRDOrPAFGenerationSettings.FilterString
getset

Optional filter string to apply when reading the ray file. Only applicable when the RayDatabaseFile is a ZRD file. Defaults to an empty string (no filter).

◆ RayDatabaseFile

string ZOSAPI.Tools.Sequences.IViaZRDOrPAFGenerationSettings.RayDatabaseFile
getset

The name (with extension, but not including path) of the ray file to process. Can be either a ZRD or PAF file which is present in the same directory as the lens file.

If a ZRD / PAF file exists with the same name as the lens file, in the same directory, then this will be set as the default for this property when creating this settings interface via ISequenceSelector.SelectViaZRDOrPAFGeneration.

◆ RelativeMinimumFlux

double ZOSAPI.Tools.Sequences.IViaZRDOrPAFGenerationSettings.RelativeMinimumFlux
getset

Optional minimum flux value which paths must satisfy in order for sequences to be generated. Defaults to 0.

◆ SortBy

Analysis.RayTracing.PathAnalysisSortType ZOSAPI.Tools.Sequences.IViaZRDOrPAFGenerationSettings.SortBy
getset

Metric by which to sort the resulting generated paths.

The default value, when creating this settings interface, will be Analysis.RayTracing.PathAnalysisSortType.TotalEndingFlux.

Connect with Ansys