ALTADataSet.AddStressDefinition

Adds a stress type to the data set.

Syntax
.AddStressDefinition(Name, StressRelation, UseStress)

Parameters
Name
 * Required. String. The name of the stress.

StressRelation
 * Optional. The stress transformation that will be applied to the stress. Applies to the general log-linear (GLL) or cumulative damage (CD) models only. Can be any ALTASolverLSR constant. Default value &#61; 0.

UseStress
 * Optional. Double. The use stress level. Default value &#61; 1.

Example
The following example demonstrates how to add stress definitions to an ALTADataSet object.

VBA ADS ALTADataSet ADS.AddStressDefinition(,,10) ADS.AddStressDefinition(,,25) Stress(1) Variant Stress(0) = 190 Stress(1) = 235 ADS.AddFailure(100, 1, Stress) ADS.AddFailure(120, 1, Stress) ADS.AddFailure(130, 1, Stress)

VB.NET ADS ALTADataSet ADS.AddStressDefinition(,,10) ADS.AddStressDefinition(,,25) ADS.AddFailure(100, 1, 190, 235) ADS.AddFailure(120, 1, 190, 235) ADS.AddFailure(130, 1, 190, 235)