Skip to main content

ZOS-API interface 2024 R2

ZOSAPI.Tools.Layouts.IShadedModelExport Interface Reference

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

Public Member Functions

void SetWavelengthsAll ()
 
void SetFieldsAll ()
 
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.
 
ColorRaysByOptions ColorRaysBy [get, set]
 The value by which to color rays by. ColorRaysBy
 
RayPatternType RayPattern [get, set]
 
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.
 
OpacityOptions Opacity [get, set]
 
BackgroundOptions Background [get, set]
 
BrightnessOptions Brightness [get, set]
 
NumberSegmentsOptions AngularSegments [get, set]
 
NumberSegmentsOptions RadialSegments [get, set]
 
bool FletchRays [get, set]
 
bool DeleteVignetted [get, set]
 
bool SplitNSCRays [get, set]
 
bool ScatterNSCRays [get, set]
 
LineThicknessOptions SurfaceLineThickness [get, set]
 
LineThicknessOptions RaysLineThickness [get, set]
 
IImageExportData ImageExportData [get]
 
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]
 
DrawSectionOptions DrawSection [get, set]
 
- 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.IShadedModelExport.SetCameraViewpoint ( CameraViewpointOptions  cameraViewpoint)

◆ SetConfigurationEnabled()

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

◆ SetFieldsAll()

void ZOSAPI.Tools.Layouts.IShadedModelExport.SetFieldsAll ( )

◆ SetWavelengthsAll()

void ZOSAPI.Tools.Layouts.IShadedModelExport.SetWavelengthsAll ( )

Property Documentation

◆ AngularSegments

NumberSegmentsOptions ZOSAPI.Tools.Layouts.IShadedModelExport.AngularSegments
getset

◆ Background

BackgroundOptions ZOSAPI.Tools.Layouts.IShadedModelExport.Background
getset

◆ Brightness

BrightnessOptions ZOSAPI.Tools.Layouts.IShadedModelExport.Brightness
getset

◆ CameraViewpointAngleX

double ZOSAPI.Tools.Layouts.IShadedModelExport.CameraViewpointAngleX
getset

◆ CameraViewpointAngleY

double ZOSAPI.Tools.Layouts.IShadedModelExport.CameraViewpointAngleY
getset

◆ CameraViewpointAngleZ

double ZOSAPI.Tools.Layouts.IShadedModelExport.CameraViewpointAngleZ
getset

◆ ColorRaysBy

ColorRaysByOptions ZOSAPI.Tools.Layouts.IShadedModelExport.ColorRaysBy
getset

The value by which to color rays by. ColorRaysBy

◆ ConfigurationAll

bool ZOSAPI.Tools.Layouts.IShadedModelExport.ConfigurationAll
getset

◆ ConfigurationCurrent

bool ZOSAPI.Tools.Layouts.IShadedModelExport.ConfigurationCurrent
getset

◆ ConfigurationOffsetX

double ZOSAPI.Tools.Layouts.IShadedModelExport.ConfigurationOffsetX
getset

◆ ConfigurationOffsetY

double ZOSAPI.Tools.Layouts.IShadedModelExport.ConfigurationOffsetY
getset

◆ ConfigurationOffsetZ

double ZOSAPI.Tools.Layouts.IShadedModelExport.ConfigurationOffsetZ
getset

◆ DeleteVignetted

bool ZOSAPI.Tools.Layouts.IShadedModelExport.DeleteVignetted
getset

◆ DrawSection

DrawSectionOptions ZOSAPI.Tools.Layouts.IShadedModelExport.DrawSection
getset

◆ EndSurface

int ZOSAPI.Tools.Layouts.IShadedModelExport.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.IShadedModelExport.Field
getset

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

◆ FletchRays

bool ZOSAPI.Tools.Layouts.IShadedModelExport.FletchRays
getset

◆ ImageExportData

IImageExportData ZOSAPI.Tools.Layouts.IShadedModelExport.ImageExportData
get

◆ IsValidFileName

bool ZOSAPI.Tools.Layouts.IShadedModelExport.IsValidFileName
get

◆ NumberOfRays

int ZOSAPI.Tools.Layouts.IShadedModelExport.NumberOfRays
getset

The number of rays. Must be greater than 0.

◆ Opacity

OpacityOptions ZOSAPI.Tools.Layouts.IShadedModelExport.Opacity
getset

◆ OutputFileName

string ZOSAPI.Tools.Layouts.IShadedModelExport.OutputFileName
getset

◆ OutputPixelHeight

int ZOSAPI.Tools.Layouts.IShadedModelExport.OutputPixelHeight
getset

◆ OutputPixelWidth

int ZOSAPI.Tools.Layouts.IShadedModelExport.OutputPixelWidth
getset

◆ RadialSegments

NumberSegmentsOptions ZOSAPI.Tools.Layouts.IShadedModelExport.RadialSegments
getset

◆ RayPattern

RayPatternType ZOSAPI.Tools.Layouts.IShadedModelExport.RayPattern
getset

◆ RaysLineThickness

LineThicknessOptions ZOSAPI.Tools.Layouts.IShadedModelExport.RaysLineThickness
getset

◆ SaveImageAsFile

bool ZOSAPI.Tools.Layouts.IShadedModelExport.SaveImageAsFile
getset

◆ ScatterNSCRays

bool ZOSAPI.Tools.Layouts.IShadedModelExport.ScatterNSCRays
getset

◆ SplitNSCRays

bool ZOSAPI.Tools.Layouts.IShadedModelExport.SplitNSCRays
getset

◆ StartSurface

int ZOSAPI.Tools.Layouts.IShadedModelExport.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.IShadedModelExport.SurfaceLineThickness
getset

◆ Wavelength

int ZOSAPI.Tools.Layouts.IShadedModelExport.Wavelength
getset

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

Connect with Ansys