NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Properties | List of all members
NXOpen.CAE.CurveOperation Class Reference

Provides methods to evaluate curve expressions. More...

Inheritance diagram for NXOpen.CAE.CurveOperation:
NXOpen.Utilities.NXRemotableObject IMessageSink

Public Member Functions

unsafe NXOpen.CAE.Xyplot.Plot CreatePlot (int deviceIndex, int viewIndex, NXOpen.CAE.FTK.ArrayRecord2D arrayRecord)
 Creates a plot on the graphic window. More...
 
unsafe NXOpen.CAE.FTK.ArrayRecord2D EvaluateCurveExpressionStrings (string recordName, NXOpen.CAE.XyFunctionDataComplexType dataType, string[] curveExpressionStrings)
 Generates array record data(see NXOpen.CAE.FTK.ArrayRecord2D ) by evaluating an array of curve expressions. More...
 
unsafe void ValidateCurveExpressionString (string curveExpressionString, bool isNeedToPrintErrorMessages)
 Validates curve expression string. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject
void initialize ()
 <exclude> More...
 

Detailed Description

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

Member Function Documentation

unsafe NXOpen.CAE.Xyplot.Plot NXOpen.CAE.CurveOperation.CreatePlot ( int  deviceIndex,
int  viewIndex,
NXOpen.CAE.FTK.ArrayRecord2D  arrayRecord 
)
inline

Creates a plot on the graphic window.

Created in NX1847.0.0

License requirements: None.

Parameters
deviceIndex
viewIndex
arrayRecord
Returns
unsafe NXOpen.CAE.FTK.ArrayRecord2D NXOpen.CAE.CurveOperation.EvaluateCurveExpressionStrings ( string  recordName,
NXOpen.CAE.XyFunctionDataComplexType  dataType,
string[]  curveExpressionStrings 
)
inline

Generates array record data(see NXOpen.CAE.FTK.ArrayRecord2D ) by evaluating an array of curve expressions.

Do math operation on displayed curves on existing Function Plot 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.

  1. For NXOpen.CAE.XyFunctionDataComplexType.RealOnly , curve expression array consists of two elements. The first element is X curve expression, the second element is Y curve expression.
  2. For NXOpen.CAE.XyFunctionDataComplexType.RealImaginary , curve expression array consists of three elements. The first element is X curve expression, the second element is Real curve expression, the third element is Imaginary curve expression.
  3. For NXOpen.CAE.XyFunctionDataComplexType.MagnitudePhase , curve expression array consists of three elements.The first element is X curve expression, the second element is Magnitude curve expression, the third element is Phase curve expression.

Created in NX1847.0.0

License requirements: None.

Parameters
recordName
dataType
curveExpressionStrings
Returns
unsafe void NXOpen.CAE.CurveOperation.ValidateCurveExpressionString ( string  curveExpressionString,
bool  isNeedToPrintErrorMessages 
)
inline

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.

Parameters
curveExpressionString
isNeedToPrintErrorMessages

Property Documentation

Tag NXOpen.CAE.CurveOperation.Tag
get

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.