Skip to main content

ZOS-API interface 2025 R1

ZOSAPI.Analysis.Settings.Spot.IAS_Spot Interface Reference

Last update: 17.07.2025
Inheritance diagram for ZOSAPI.Analysis.Settings.Spot.IAS_Spot:

Properties

IAS_Field Field [get]
 
IAS_Surface Surface [get]
 
IAS_Wavelength Wavelength [get]
 
Patterns Pattern [get, set]
 
Reference ReferTo [get, set]
 
ShowScales ShowScale [get, set]
 
ColorRaysBy ColorRaysBy [get, set]
 
int RayDensity [get, set]
 
int Configuration [get, set]
 
bool DirectionCosines [get, set]
 
bool UseSymbols [get, set]
 
bool UsePolarization [get, set]
 
bool ScatterRays [get, set]
 
bool ShowAiryDisk [get, set]
 
bool IgnoreLateralColor [get, set]
 
double PlotScale [get, set]
 
double DeltaFocus [get, set]
 
double Exaggerate [get, set]
 

Additional Inherited Members

- Public Member Functions inherited from ZOSAPI.Analysis.Settings.IAS_
IMessages Verify ()
 
void Save ()
 Saves the current settings to the default CFG file.
 
void Load ()
 Loads settings from the default CFG file.
 
void Reset ()
 Resets the settings back to the defaults for the current analysis.
 
bool SaveTo (string settingsFile)
 Saves the current settings to the specified file.
 
bool LoadFrom (string settingsFile)
 Replaces the current settings with settings read from the specified file.
 
bool ModifySettings (string settingsFile, string typeCode, string newValue)
 Changes a single setting in the specified file. See the MODIFYSETTINGS DDE command help documentation for more information.
 

Detailed Description

Usage (see Example 11 for a full sample)

C#

// Open Spot Diagram to See Result!
IA_ newSpot = TheSystem.Analyses.New_StandardSpot();
Console.WriteLine("Spot has analysis specific settings? " + newSpot.HasAnalysisSpecificSettings.ToString()); // True; no ModifySettings
IAS_Spot spotSet = newSpot.GetSettings() as IAS_Spot;
spotSet.RayDensity = 15;
Base interface for all analysis windows. This interface can be accessed via the I_Analyses interface.
Definition: IA_Base.cs:29
bool HasAnalysisSpecificSettings
Gets a value indicating whether this instance has a fully-implemented settings interface available....
Definition: IA_Base.cs:55
IAS_ GetSettings()
Gets the settings for the current analysis.
IMessage ApplyAndWaitForCompletion()
Re-runs the analysis with the current settings and waits for it to finish calculating.
Definition: IAS_Spot.cs:50

C++

// Open Spot Diagram to See Result!
IA_Ptr newSpot = TheSystem->Analyses->New_StandardSpot();
cout << "Spot has analysis specific settings? " << newSpot->HasAnalysisSpecificSettings << endl; // True; no ModifySettings
IAS_SpotPtr spotSet = newSpot->GetSettings();
spotSet->RayDensity = 15;
newSpot->ApplyAndWaitForCompletion();

Matlab

% Open Spot Diagram to See Result!
newSpot = TheSystem.Analyses.New_StandardSpot();
fprintf('Spot has analysis specific settings? %i\n', newSpot.HasAnalysisSpecificSettings); % True; no ModifySettings
%Console.WriteLine("Spot has analysis specific settings? " + newSpot.HasAnalysisSpecificSettings.ToString()); //
spotSet = newSpot.GetSettings();
spotSet.RayDensity = 15;
newSpot.ApplyAndWaitForCompletion();

Python

# Open Spot Diagram to See Result!
newSpot = TheSystem.Analyses.New_StandardSpot()
print("Spot has analysis specific settings? ", newSpot.HasAnalysisSpecificSettings) # True; no ModifySettings
newSettings = newSpot.GetSettings()
newSettings.RayDensity = 15
newSpot.ApplyAndWaitForCompletion()
Examples
CSharpStandalone_11_Basic_Seq.cs, and CSharpStandalone_22_seq_spot_diagram.cs.

Property Documentation

◆ ColorRaysBy

ColorRaysBy ZOSAPI.Analysis.Settings.Spot.IAS_Spot.ColorRaysBy
getset

◆ Configuration

int ZOSAPI.Analysis.Settings.Spot.IAS_Spot.Configuration
getset

◆ DeltaFocus

double ZOSAPI.Analysis.Settings.Spot.IAS_Spot.DeltaFocus
getset

◆ DirectionCosines

bool ZOSAPI.Analysis.Settings.Spot.IAS_Spot.DirectionCosines
getset

◆ Exaggerate

double ZOSAPI.Analysis.Settings.Spot.IAS_Spot.Exaggerate
getset

◆ Field

IAS_Field ZOSAPI.Analysis.Settings.Spot.IAS_Spot.Field
get

◆ IgnoreLateralColor

bool ZOSAPI.Analysis.Settings.Spot.IAS_Spot.IgnoreLateralColor
getset

◆ Pattern

Patterns ZOSAPI.Analysis.Settings.Spot.IAS_Spot.Pattern
getset

◆ PlotScale

double ZOSAPI.Analysis.Settings.Spot.IAS_Spot.PlotScale
getset

◆ RayDensity

int ZOSAPI.Analysis.Settings.Spot.IAS_Spot.RayDensity
getset

◆ ReferTo

Reference ZOSAPI.Analysis.Settings.Spot.IAS_Spot.ReferTo
getset

◆ ScatterRays

bool ZOSAPI.Analysis.Settings.Spot.IAS_Spot.ScatterRays
getset

◆ ShowAiryDisk

bool ZOSAPI.Analysis.Settings.Spot.IAS_Spot.ShowAiryDisk
getset

◆ ShowScale

ShowScales ZOSAPI.Analysis.Settings.Spot.IAS_Spot.ShowScale
getset

◆ Surface

IAS_Surface ZOSAPI.Analysis.Settings.Spot.IAS_Spot.Surface
get

◆ UsePolarization

bool ZOSAPI.Analysis.Settings.Spot.IAS_Spot.UsePolarization
getset

◆ UseSymbols

bool ZOSAPI.Analysis.Settings.Spot.IAS_Spot.UseSymbols
getset

◆ Wavelength

IAS_Wavelength ZOSAPI.Analysis.Settings.Spot.IAS_Spot.Wavelength
get

Connect with Ansys