The UserAmplitude object defines an amplitude curve using the UAMP or VUAMP user subroutine.
The UserAmplitude object is derived from the Amplitude object.
amplitudeApi.amplitudes()[name]
This method creates a UserAmplitude object.
amplitudeApi.UserAmplitude
odb_UserAmplitude& UserAmplitude(const odb_String& name, int numVariables, const odb_String& timeSpan);
Required arguments
An odb_String specifying the repository key.
Optional argument
An odb_String specifying the time span of the amplitude. Possible values are "STEP" and "TOTAL". The default value is "STEP".
Return value
A UserAmplitude object.
Exceptions
InvalidNameError and RangeError.
This method modifies the UserAmplitude object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the UserAmplitude method, except for the name argument.
Return value
Exceptions
RangeError.
The UserAmplitude object has members with the same names and descriptions as the arguments to the UserAmplitude method.