NXOpen C++ Reference Guide
|
Provides methods to evaluate curve expressions. More...
Public Member Functions | |
NXOpen::CAE::Xyplot::Plot * | CreatePlot (int deviceIndex, int viewIndex, NXOpen::CAE::FTK::ArrayRecord2D *arrayRecord) |
Creates a plot on the graphic window. More... | |
NXOpen::CAE::FTK::ArrayRecord2D * | EvaluateCurveExpressionStrings (const NXString &recordName, NXOpen::CAE::XyFunctionDataComplexType dataType, std::vector< NXString > &curveExpressionStrings) |
Generates array record data(see NXOpen::CAE::FTK::ArrayRecord2D ) by evaluating an array of curve expressions. More... | |
NXOpen::CAE::FTK::ArrayRecord2D * | EvaluateCurveExpressionStrings (const char *recordName, NXOpen::CAE::XyFunctionDataComplexType dataType, std::vector< NXString > &curveExpressionStrings) |
Generates array record data(see NXOpen::CAE::FTK::ArrayRecord2D ) by evaluating an array of curve expressions. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
void | ValidateCurveExpressionString (const NXString &curveExpressionString, bool isNeedToPrintErrorMessages) |
Validates curve expression string. More... | |
void | ValidateCurveExpressionString (const char *curveExpressionString, bool isNeedToPrintErrorMessages) |
Validates curve expression string. More... | |
Provides methods to evaluate curve expressions.
A curve expressions can consist of math functions, curve variables, and expressions (see NXOpen::Expression ). Curve expression could be evaluated to generate a data list to represent a data component of a record.
Curve variable is a function. It denotes a data list of curve. For curve expression curve("w1v0p0r0c0","x")+sin(50)
, curve variable is curve("w1v0p0r0c0","x")
. It consists of two parts:curve identifier and data dimension. For curve variable curve("w1v0p0r0c0","x")
, curve identifier is w1v0p0r0c0
and data dimension is x
.
To obtain an instance of this class use NXOpen::Session::CurveOperation .
Created in NX1847.0.0.
NXOpen::CAE::Xyplot::Plot* NXOpen::CAE::CurveOperation::CreatePlot | ( | int | deviceIndex, |
int | viewIndex, | ||
NXOpen::CAE::FTK::ArrayRecord2D * | arrayRecord | ||
) |
Creates a plot on the graphic window.
Created in NX1847.0.0.
License requirements : None
deviceIndex | deviceindex |
viewIndex | viewindex |
arrayRecord | arrayrecord |
NXOpen::CAE::FTK::ArrayRecord2D* NXOpen::CAE::CurveOperation::EvaluateCurveExpressionStrings | ( | const NXString & | recordName, |
NXOpen::CAE::XyFunctionDataComplexType | dataType, | ||
std::vector< NXString > & | curveExpressionStrings | ||
) |
Generates array record data(see NXOpen::CAE::FTK::ArrayRecord2D ) by evaluating an array of curve expressions.
Do math operation on displayed curves on existing XY graph to create new record data or update an existing record data.
For different function data complex type, the curve expressions amount is limited. And the elements of curve expression array needs to follow some orders.
Created in NX1847.0.0.
License requirements : None
recordName | recordname |
dataType | datatype |
curveExpressionStrings | curveexpressionstrings |
NXOpen::CAE::FTK::ArrayRecord2D* NXOpen::CAE::CurveOperation::EvaluateCurveExpressionStrings | ( | const char * | recordName, |
NXOpen::CAE::XyFunctionDataComplexType | dataType, | ||
std::vector< NXString > & | curveExpressionStrings | ||
) |
Generates array record data(see NXOpen::CAE::FTK::ArrayRecord2D ) by evaluating an array of curve expressions.
Do math operation on displayed curves on existing XY graph to create new record data or update an existing record data.
For different function data complex type, the curve expressions amount is limited. And the elements of curve expression array needs to follow some orders.
Created in NX1847.0.0.
License requirements : None
recordName | recordname |
dataType | datatype |
curveExpressionStrings | curveexpressionstrings |
tag_t NXOpen::CAE::CurveOperation::Tag | ( | ) | const |
Returns the tag of this object.
void NXOpen::CAE::CurveOperation::ValidateCurveExpressionString | ( | const NXString & | curveExpressionString, |
bool | isNeedToPrintErrorMessages | ||
) |
Validates curve expression string.
Prints error validation message to listing window if failing to validate and being required for output .
Created in NX1847.0.0.
License requirements : None
curveExpressionString | curveexpressionstring |
isNeedToPrintErrorMessages | isneedtoprinterrormessages |
void NXOpen::CAE::CurveOperation::ValidateCurveExpressionString | ( | const char * | curveExpressionString, |
bool | isNeedToPrintErrorMessages | ||
) |
Validates curve expression string.
Prints error validation message to listing window if failing to validate and being required for output .
Created in NX1847.0.0.
License requirements : None
curveExpressionString | curveexpressionstring |
isNeedToPrintErrorMessages | isneedtoprinterrormessages |