Skip to main content

ZOS-API interface 2024 R2 SP02

ZOSAPI.Tools.Layouts.I3DViewerExport Interface Reference

Last update: 17.07.2025
Inheritance diagram for ZOSAPI.Tools.Layouts.I3DViewerExport:

Public Member Functions

void SetConfigurationEnabled (int config, bool enabled)
 
void SetCameraViewpoint (CameraViewpointOptions cameraViewpoint)
 
- Public Member Functions inherited from ZOSAPI.Tools.ISystemTool
bool Run ()
 Start the tool. Note that for synchronous tools (see IsAsynchronous), this call will block until completion. If it is asynchronous it will start running but return immediately.
 
bool RunAndWaitForCompletion ()
 Sames as calling Run followed by WaitForCompletion.
 
bool WaitForCompletion ()
 Waits for the asynchronous tool to complete.
 
bool Cancel ()
 Cancels the currently running asynchronous tool.
 
bool Close ()
 Closes this tool and frees up and associated resources.
 
RunStatus WaitWithTimeout (double timeOutSeconds)
 Waits for the currently running tool to complete, with a specified time out value. Note that if the timeout is exceeded this method will return, however the tool will continue to run. Also note that this method will not start the tool running if it is not already.
 
RunStatus RunAndWaitWithTimeout (double timeOutSeconds)
 Starts the tool running, and waits for it to complete with the specified timeout value. Note that if the timeout is exceeded this method will return, however the tool will continue to run.
 

Properties

bool SaveImageAsFile [get, set]
 
string OutputFileName [get, set]
 
bool IsValidFileName [get]
 
int OutputPixelWidth [get, set]
 
int OutputPixelHeight [get, set]
 
int StartSurface [get, set]
 The first surface which will be available in the output image. If set to -1, every surface from the beginning to the EndSurface will be available.
 
int EndSurface [get, set]
 The last surface which will be available in the output image. If set to -1, every surface after the StartSurface will be available.
 
int NumberOfRays [get, set]
 The number of rays. Must be greater than 0.
 
int Wavelength [get, set]
 The wavelength index to use. If set to -1, all wavelengths will be displayed.
 
int Field [get, set]
 The field index to use. If set to -1, all fields will be displayed.
 
RayPatternType RayPattern [get, set]
 
ColorRaysByOptions ColorRaysBy [get, set]
 The value by which to color rays by. ColorRaysBy
 
bool DeleteVignetted [get, set]
 
bool HideLensFaces [get, set]
 
bool HideLensEdges [get, set]
 
bool HideXBars [get, set]
 
bool DrawParaxialPupils [get, set]
 
bool FletchRays [get, set]
 
bool SplitNSCRays [get, set]
 
bool ScatterNSCRays [get, set]
 
RealPupilOptions DrawRealEntrancePupils [get, set]
 
RealPupilOptions DrawRealExitPupils [get, set]
 
LineThicknessOptions SurfaceLineThickness [get, set]
 
LineThicknessOptions RaysLineThickness [get, set]
 
bool ConfigurationAll [get, set]
 
bool ConfigurationCurrent [get, set]
 
double ConfigurationOffsetX [get, set]
 
double ConfigurationOffsetY [get, set]
 
double ConfigurationOffsetZ [get, set]
 
double CameraViewpointAngleX [get, set]
 
double CameraViewpointAngleY [get, set]
 
double CameraViewpointAngleZ [get, set]
 
IImageExportData ImageExportData [get]
 
- Properties inherited from ZOSAPI.Tools.ISystemTool
int Progress [get]
 Gets the progress of the current tool, if supported.
 
string Status [get]
 Gets the status of the current tool, if supporoted.
 
bool IsRunning [get]
 Gets a value indicating whether the tool is currently running asynchronously.
 
bool CanCancel [get]
 Gets a value indicating whether the tool can be cancelled.
 
bool IsAsynchronous [get]
 Gets a value indicating whether the tool runs asynchronously (i.e. on a thread).
 
bool IsFiniteDuration [get]
 Gets a value indicating whether this tool will complete on its own.
 
bool IsValid [get]
 Gets a value indicating whether the input settings are valid.
 
bool Succeeded [get]
 Gets a value indicating whether the tool execution succeeded.
 
string ErrorMessage [get]
 If Succeeded is false, get the error messages; otherwise, null.
 

Member Function Documentation

◆ SetCameraViewpoint()

void ZOSAPI.Tools.Layouts.I3DViewerExport.SetCameraViewpoint ( CameraViewpointOptions  cameraViewpoint)

◆ SetConfigurationEnabled()

void ZOSAPI.Tools.Layouts.I3DViewerExport.SetConfigurationEnabled ( int  config,
bool  enabled 
)

Property Documentation

◆ CameraViewpointAngleX

double ZOSAPI.Tools.Layouts.I3DViewerExport.CameraViewpointAngleX
getset

◆ CameraViewpointAngleY

double ZOSAPI.Tools.Layouts.I3DViewerExport.CameraViewpointAngleY
getset

◆ CameraViewpointAngleZ

double ZOSAPI.Tools.Layouts.I3DViewerExport.CameraViewpointAngleZ
getset

◆ ColorRaysBy

ColorRaysByOptions ZOSAPI.Tools.Layouts.I3DViewerExport.ColorRaysBy
getset

The value by which to color rays by. ColorRaysBy

◆ ConfigurationAll

bool ZOSAPI.Tools.Layouts.I3DViewerExport.ConfigurationAll
getset

◆ ConfigurationCurrent

bool ZOSAPI.Tools.Layouts.I3DViewerExport.ConfigurationCurrent
getset

◆ ConfigurationOffsetX

double ZOSAPI.Tools.Layouts.I3DViewerExport.ConfigurationOffsetX
getset

◆ ConfigurationOffsetY

double ZOSAPI.Tools.Layouts.I3DViewerExport.ConfigurationOffsetY
getset

◆ ConfigurationOffsetZ

double ZOSAPI.Tools.Layouts.I3DViewerExport.ConfigurationOffsetZ
getset

◆ DeleteVignetted

bool ZOSAPI.Tools.Layouts.I3DViewerExport.DeleteVignetted
getset

◆ DrawParaxialPupils

bool ZOSAPI.Tools.Layouts.I3DViewerExport.DrawParaxialPupils
getset

◆ DrawRealEntrancePupils

RealPupilOptions ZOSAPI.Tools.Layouts.I3DViewerExport.DrawRealEntrancePupils
getset

◆ DrawRealExitPupils

RealPupilOptions ZOSAPI.Tools.Layouts.I3DViewerExport.DrawRealExitPupils
getset

◆ EndSurface

int ZOSAPI.Tools.Layouts.I3DViewerExport.EndSurface
getset

The last surface which will be available in the output image. If set to -1, every surface after the StartSurface will be available.

◆ Field

int ZOSAPI.Tools.Layouts.I3DViewerExport.Field
getset

The field index to use. If set to -1, all fields will be displayed.

◆ FletchRays

bool ZOSAPI.Tools.Layouts.I3DViewerExport.FletchRays
getset

◆ HideLensEdges

bool ZOSAPI.Tools.Layouts.I3DViewerExport.HideLensEdges
getset

◆ HideLensFaces

bool ZOSAPI.Tools.Layouts.I3DViewerExport.HideLensFaces
getset

◆ HideXBars

bool ZOSAPI.Tools.Layouts.I3DViewerExport.HideXBars
getset

◆ ImageExportData

IImageExportData ZOSAPI.Tools.Layouts.I3DViewerExport.ImageExportData
get

◆ IsValidFileName

bool ZOSAPI.Tools.Layouts.I3DViewerExport.IsValidFileName
get

◆ NumberOfRays

int ZOSAPI.Tools.Layouts.I3DViewerExport.NumberOfRays
getset

The number of rays. Must be greater than 0.

◆ OutputFileName

string ZOSAPI.Tools.Layouts.I3DViewerExport.OutputFileName
getset

◆ OutputPixelHeight

int ZOSAPI.Tools.Layouts.I3DViewerExport.OutputPixelHeight
getset

◆ OutputPixelWidth

int ZOSAPI.Tools.Layouts.I3DViewerExport.OutputPixelWidth
getset

◆ RayPattern

RayPatternType ZOSAPI.Tools.Layouts.I3DViewerExport.RayPattern
getset

◆ RaysLineThickness

LineThicknessOptions ZOSAPI.Tools.Layouts.I3DViewerExport.RaysLineThickness
getset

◆ SaveImageAsFile

bool ZOSAPI.Tools.Layouts.I3DViewerExport.SaveImageAsFile
getset

◆ ScatterNSCRays

bool ZOSAPI.Tools.Layouts.I3DViewerExport.ScatterNSCRays
getset

◆ SplitNSCRays

bool ZOSAPI.Tools.Layouts.I3DViewerExport.SplitNSCRays
getset

◆ StartSurface

int ZOSAPI.Tools.Layouts.I3DViewerExport.StartSurface
getset

The first surface which will be available in the output image. If set to -1, every surface from the beginning to the EndSurface will be available.

◆ SurfaceLineThickness

LineThicknessOptions ZOSAPI.Tools.Layouts.I3DViewerExport.SurfaceLineThickness
getset

◆ Wavelength

int ZOSAPI.Tools.Layouts.I3DViewerExport.Wavelength
getset

The wavelength index to use. If set to -1, all wavelengths will be displayed.

Connect with Ansys