Skip to main content

ZOS-API interface 2025 R1

ZOSAPI.Editors.LDE.ISTAR_StressFEAData Interface Reference

Last update: 17.07.2025

Classes which implement this interface allow to handle stress FEA datasets. More...

Public Member Functions

void ImportStress (string filename)
 
void UnloadData ()
 
ISTAR_PointWithStress[] GetFEAPointsSafe ()
 
ICoordinateTransform GetTransformValues (int transformType)
 Transform types are 0 - User coordinate adapter transform, 1 - GRSO to Local transform, 2 - Total transform (matrix product of 0 and 1)
 
ISTAR_PointWithStress[] GetTransformedFEAPointsSafe (int coordinateOption)
 Returns points after applying the selected transform. Option 0 returns local OpticStudio coordinates (surface-specific) and option 1 returns global OpticStudio coordinates referenced to the GRSO.
 
ISTAR_PointWithStress[] GetTransformedFEAPointsNoImportRequired (String filename, int adaptCase, double[,] adapterR, double[] adapterO, int coordinateOption)
 Returns points after applying the selected transform. This version does not require a prior call to ImportStress and thus no lens update is issued. Option 0 returns local OpticStudio coordinates (surface-specific) and option 1 returns global OpticStudio coordinates referenced to the GRSO. adaptCase usage to indicate FEA data coord system in the file: 0-InOSLocal, 1-InOSGlobal, 2-ToOSLocalViaTransform, 3-ToOSGlobalViaTransform.
 
bool IsStressTensorApplied ()
 

Properties

int SurfaceNumber [get]
 
int NumberOfDataPoints [get]
 
string Filename [get]
 
bool IsStressImported [get]
 

Detailed Description

Classes which implement this interface allow to handle stress FEA datasets.

Member Function Documentation

◆ GetFEAPointsSafe()

ISTAR_PointWithStress[] ZOSAPI.Editors.LDE.ISTAR_StressFEAData.GetFEAPointsSafe ( )

◆ GetTransformedFEAPointsNoImportRequired()

ISTAR_PointWithStress[] ZOSAPI.Editors.LDE.ISTAR_StressFEAData.GetTransformedFEAPointsNoImportRequired ( String  filename,
int  adaptCase,
double  adapterR[,],
double[]  adapterO,
int  coordinateOption 
)

Returns points after applying the selected transform. This version does not require a prior call to ImportStress and thus no lens update is issued. Option 0 returns local OpticStudio coordinates (surface-specific) and option 1 returns global OpticStudio coordinates referenced to the GRSO. adaptCase usage to indicate FEA data coord system in the file: 0-InOSLocal, 1-InOSGlobal, 2-ToOSLocalViaTransform, 3-ToOSGlobalViaTransform.

◆ GetTransformedFEAPointsSafe()

ISTAR_PointWithStress[] ZOSAPI.Editors.LDE.ISTAR_StressFEAData.GetTransformedFEAPointsSafe ( int  coordinateOption)

Returns points after applying the selected transform. Option 0 returns local OpticStudio coordinates (surface-specific) and option 1 returns global OpticStudio coordinates referenced to the GRSO.

◆ GetTransformValues()

ICoordinateTransform ZOSAPI.Editors.LDE.ISTAR_StressFEAData.GetTransformValues ( int  transformType)

Transform types are 0 - User coordinate adapter transform, 1 - GRSO to Local transform, 2 - Total transform (matrix product of 0 and 1)

◆ ImportStress()

void ZOSAPI.Editors.LDE.ISTAR_StressFEAData.ImportStress ( string  filename)

◆ IsStressTensorApplied()

bool ZOSAPI.Editors.LDE.ISTAR_StressFEAData.IsStressTensorApplied ( )

◆ UnloadData()

void ZOSAPI.Editors.LDE.ISTAR_StressFEAData.UnloadData ( )

Property Documentation

◆ Filename

string ZOSAPI.Editors.LDE.ISTAR_StressFEAData.Filename
get

◆ IsStressImported

bool ZOSAPI.Editors.LDE.ISTAR_StressFEAData.IsStressImported
get

◆ NumberOfDataPoints

int ZOSAPI.Editors.LDE.ISTAR_StressFEAData.NumberOfDataPoints
get

◆ SurfaceNumber

int ZOSAPI.Editors.LDE.ISTAR_StressFEAData.SurfaceNumber
get

Connect with Ansys