Skip to main content

ZOS-API interface 2025 R2 SP02

ZOSAPI.Tools.Sequences.ISequence Interface Reference

Last update: 19.09.2025

A copy of the data for a specific sequence as defined in the ISequenceSelector tool. More...

Properties

string Name [get]
 The name of the sequence.
 
List< SequenceElement > Elements [get]
 The sequence itself as a list of SequenceElement objects.
 
SequenceElement Source [get]
 Source sequence element.
 
SequenceElement Stop [get]
 Stop sequence element.
 
SequenceElement Image [get]
 Image sequence element.
 
double Flux [get]
 Total end flux value of the sequence.
 
bool IsValid [get]
 Whether the sequence is valid.
 
bool IsEnabled [get]
 Whether the sequence is enabled.
 
bool IsComplete [get]
 Whether the sequence starts with a Source object and ends with a Detector object.
 
bool AreAllElementsUnique [get]
 Whether all entries in Elements are unique (i.e., no duplicate sequence elements).
 
int NumDiffractiveElements [get]
 The number of entries in Elements which have diffraction events (i.e., elements for which SequenceElement.HasDiffraction is true).
 
bool HasDefinedStop [get]
 Whether the sequence has a STOP defined such that Stop is not null.
 

Detailed Description

A copy of the data for a specific sequence as defined in the ISequenceSelector tool.

Property Documentation

◆ AreAllElementsUnique

bool ZOSAPI.Tools.Sequences.ISequence.AreAllElementsUnique
get

Whether all entries in Elements are unique (i.e., no duplicate sequence elements).

◆ Elements

List<SequenceElement> ZOSAPI.Tools.Sequences.ISequence.Elements
get

The sequence itself as a list of SequenceElement objects.

◆ Flux

double ZOSAPI.Tools.Sequences.ISequence.Flux
get

Total end flux value of the sequence.

◆ HasDefinedStop

bool ZOSAPI.Tools.Sequences.ISequence.HasDefinedStop
get

Whether the sequence has a STOP defined such that Stop is not null.

◆ Image

SequenceElement ZOSAPI.Tools.Sequences.ISequence.Image
get

Image sequence element.

◆ IsComplete

bool ZOSAPI.Tools.Sequences.ISequence.IsComplete
get

Whether the sequence starts with a Source object and ends with a Detector object.

Note: this only indicates whether the sequence was complete at the time at which it was retrieved, the flag will not be updated.

◆ IsEnabled

bool ZOSAPI.Tools.Sequences.ISequence.IsEnabled
get

Whether the sequence is enabled.

Note: this only indicates whether the sequence was enabled at the time at which it was retrieved, the flag will not be updated.

◆ IsValid

bool ZOSAPI.Tools.Sequences.ISequence.IsValid
get

Whether the sequence is valid.

Note: this only indicates whether the sequence was valid at the time at which it was retrieved, the flag will not be updated.

◆ Name

string ZOSAPI.Tools.Sequences.ISequence.Name
get

The name of the sequence.

◆ NumDiffractiveElements

int ZOSAPI.Tools.Sequences.ISequence.NumDiffractiveElements
get

The number of entries in Elements which have diffraction events (i.e., elements for which SequenceElement.HasDiffraction is true).

◆ Source

SequenceElement ZOSAPI.Tools.Sequences.ISequence.Source
get

Source sequence element.

◆ Stop

SequenceElement ZOSAPI.Tools.Sequences.ISequence.Stop
get

Stop sequence element.

Connect with Ansys