pltICurve GetCurveType

Finds the type of curve.

Syntax

pltICurve_handle GetCurveType

Application

HyperWorks Tcl Query

Description

This command finds the type of curve within the curve handle. The different types include: XY (within an XY plot), BAR (within a bar chart), COMPLEX_REAL_IMAG (within a complex plot using real/imaginary), COMPLEX_PHASE_MAG (within a complex plot using phase/magnitude), POLAR_REAL_IMAG (within a polar plot using real/imaginary), and POLAR_PHASE_MAG (within a polar plot using phase/ magnitude).

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetClientHandle plot;
plot GetCurveHandle c1 1
c1 GetCurveType;

Errors

Success (the curve type) or an error message is returned.

Keywords

HyperWorks

Tcl

Curve

Query