Skip to main content

ZOS-API interface 2024 R1

ZOSAPI.Tools.Layouts.INSCShadedModelExport Interface Reference

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

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]
 
string RayDatabase [get, set]
 
string Filter [get, set]
 
RayTraceOptions RayTrace [get, set]
 
ColorRaysByNSCOptions ColorRaysBy [get, set]
 
DetectorPixelColorOptions DetectorPixelColorMode [get, set]
 
bool UsePolarization [get, set]
 
bool FletchRays [get, set]
 
bool SplitNSCRays [get, set]
 
bool ScatterNSCRays [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]
 
DetectorDisplayModeOptions DetectorDisplayMode [get, set]
 
OpacityOptions Opacity [get, set]
 
BackgroundOptions Background [get, set]
 
BrightnessOptions Brightness [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.INSCShadedModelExport.SetCameraViewpoint ( CameraViewpointOptions  cameraViewpoint)

◆ SetConfigurationEnabled()

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

Property Documentation

◆ Background

BackgroundOptions ZOSAPI.Tools.Layouts.INSCShadedModelExport.Background
getset

◆ Brightness

BrightnessOptions ZOSAPI.Tools.Layouts.INSCShadedModelExport.Brightness
getset

◆ CameraViewpointAngleX

double ZOSAPI.Tools.Layouts.INSCShadedModelExport.CameraViewpointAngleX
getset

◆ CameraViewpointAngleY

double ZOSAPI.Tools.Layouts.INSCShadedModelExport.CameraViewpointAngleY
getset

◆ CameraViewpointAngleZ

double ZOSAPI.Tools.Layouts.INSCShadedModelExport.CameraViewpointAngleZ
getset

◆ ColorRaysBy

ColorRaysByNSCOptions ZOSAPI.Tools.Layouts.INSCShadedModelExport.ColorRaysBy
getset

◆ ConfigurationAll

bool ZOSAPI.Tools.Layouts.INSCShadedModelExport.ConfigurationAll
getset

◆ ConfigurationCurrent

bool ZOSAPI.Tools.Layouts.INSCShadedModelExport.ConfigurationCurrent
getset

◆ ConfigurationOffsetX

double ZOSAPI.Tools.Layouts.INSCShadedModelExport.ConfigurationOffsetX
getset

◆ ConfigurationOffsetY

double ZOSAPI.Tools.Layouts.INSCShadedModelExport.ConfigurationOffsetY
getset

◆ ConfigurationOffsetZ

double ZOSAPI.Tools.Layouts.INSCShadedModelExport.ConfigurationOffsetZ
getset

◆ DetectorDisplayMode

DetectorDisplayModeOptions ZOSAPI.Tools.Layouts.INSCShadedModelExport.DetectorDisplayMode
getset

◆ DetectorPixelColorMode

DetectorPixelColorOptions ZOSAPI.Tools.Layouts.INSCShadedModelExport.DetectorPixelColorMode
getset

◆ Filter

string ZOSAPI.Tools.Layouts.INSCShadedModelExport.Filter
getset

◆ FletchRays

bool ZOSAPI.Tools.Layouts.INSCShadedModelExport.FletchRays
getset

◆ ImageExportData

IImageExportData ZOSAPI.Tools.Layouts.INSCShadedModelExport.ImageExportData
get

◆ IsValidFileName

bool ZOSAPI.Tools.Layouts.INSCShadedModelExport.IsValidFileName
get

◆ Opacity

OpacityOptions ZOSAPI.Tools.Layouts.INSCShadedModelExport.Opacity
getset

◆ OutputFileName

string ZOSAPI.Tools.Layouts.INSCShadedModelExport.OutputFileName
getset

◆ OutputPixelHeight

int ZOSAPI.Tools.Layouts.INSCShadedModelExport.OutputPixelHeight
getset

◆ OutputPixelWidth

int ZOSAPI.Tools.Layouts.INSCShadedModelExport.OutputPixelWidth
getset

◆ RayDatabase

string ZOSAPI.Tools.Layouts.INSCShadedModelExport.RayDatabase
getset

◆ RaysLineThickness

LineThicknessOptions ZOSAPI.Tools.Layouts.INSCShadedModelExport.RaysLineThickness
getset

◆ RayTrace

RayTraceOptions ZOSAPI.Tools.Layouts.INSCShadedModelExport.RayTrace
getset

◆ SaveImageAsFile

bool ZOSAPI.Tools.Layouts.INSCShadedModelExport.SaveImageAsFile
getset

◆ ScatterNSCRays

bool ZOSAPI.Tools.Layouts.INSCShadedModelExport.ScatterNSCRays
getset

◆ SplitNSCRays

bool ZOSAPI.Tools.Layouts.INSCShadedModelExport.SplitNSCRays
getset

◆ SurfaceLineThickness

LineThicknessOptions ZOSAPI.Tools.Layouts.INSCShadedModelExport.SurfaceLineThickness
getset

◆ UsePolarization

bool ZOSAPI.Tools.Layouts.INSCShadedModelExport.UsePolarization
getset

Connect with Ansys