Skip to main content

oSP3D Script API 2024 R1

RenderData Class Reference

Last update: 16.07.2025

defines the source of visible data More...

Public Types

enum  DataKind { DESIGN = 0, RESULT, RANDOM_FIELD, FMOP }
 defines the data source of the visible object More...
 
enum  DataType { eNO_DATA_TYPE = 0, NODE_DATA, ELEMENT_DATA }
 defines the data type More...
 

Public Member Functions

 clear ()
 deletes data and sets to eNO_DATA_TYPE
 
 RenderData ()
 constructor
 

Static Public Member Functions

static string dataKind (DataKind type)
 
static DataKind dataKind (string type)
 
static string dataType (DataType type)
 
static DataType dataType (string type)
 

Public Attributes

DataKind data_kind
 data kind (if any)
 
DataType data_type
 data type
 
string design_ident
 design ident (if any)
 
string quantity_ident
 quantity ident (if any)
 

Detailed Description

defines the source of visible data

Member Enumeration Documentation

◆ DataKind

enum DataKind

defines the data source of the visible object

Enumerator
DESIGN 

the data object is an existing sample in the data base

RESULT 

the data object is an existing result in the database

RANDOM_FIELD 

the data must be created using random field and amplitudes

FMOP 

the data must be created using FMOP and input parameters

◆ DataType

enum DataType

defines the data type

Enumerator
eNO_DATA_TYPE 

no data

NODE_DATA 

Node data.

ELEMENT_DATA 

Element data.

Member Function Documentation

◆ dataKind() [1/2]

static string dataKind ( DataKind  type)
static
Returns
string representation of argument
Parameters
typethe data kind

◆ dataKind() [2/2]

static DataKind dataKind ( string  type)
static
Returns
enum representation of argument
Parameters
typethe data kind

◆ dataType() [1/2]

static string dataType ( DataType  type)
static
Returns
string representation of argument
Parameters
typethe data type

◆ dataType() [2/2]

static DataType dataType ( string  type)
static
Returns
enum representation of argument
Parameters
typethe data type

Connect with Ansys