*SetCurveAttributes()

Sets the scale and offset for the X and Y vectors of a curve.

Syntax

*SetCurveAttributes(crv_name ,x_scale, 
                                   x_offset, 
                                   y_scale, 
                                   y_offset 
                                   [z_scale] 
                                   [z_offset])

Arguments

crv_name
The variable name of the existing curve.
Data type: Curve
x_scale
Scaling multiplier for the X vector of the specified curve.
Data type: real
x_offset
Offset shift for the X vector of the specified curve.
Data type: real
y_scale
Scaling multiplier for the Y vector of the specified curve.
Data type: real
y_offset
Offset shift for the Y vector of the specified curve.
Data type: real
z_scale
Scaling multiplier for the Z vector of the specified curve.
Data type: real
z_offset
Offset shift for the Z vector of the specified curve.
Data type: real

Example

*Curve(crv_stiffness, "Bushing Stiffness Curve")
*SetCurve(crv_stiffness, FILE, "test.dat", 
 "Unknown", 
 "LCA Bushing-Radial
 Stiffness", 
 "Column1")
 FILE, "test.dat", 
 "Unknown", 
 "LCA Bushing-Radial
 Stiffness"
 "Column2")
*SetCurveAttributes(crv_stiffness, 1, 0, 1.2, 1700)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()