ALTADataSet.AddStressDefinition

Sets a new stress definition(column) to be used.

Declaration
=

=

Parameters
Name The name of the new stress definition

StressRelation The relation to set the new stress definition

UseStress The Use stress level

Usage Example
Dim ALTADS as New ALTADataSet

Dim sp = New ALTAStressProfile("Profile1") sp.RepeatCycle = True sp.AddSegment(1, 250) sp.AddSegment(2, 300) sp.AddSegment(3, 400)

ALTADS.AddStressProfile(sp)

ALTADS.AddFailure(1, 1, sp) ALTADS.AddFailure(2, 1, sp) ALTADS.AddFailure(3, 1, sp)

ALTADS.AddStressDefinition("NewStress1")

Dim sp2 = New ALTAStressProfile("Profile1") sp2.RepeatCycle = True sp2.AddSegment(4, 100) sp2.AddSegment(5, 200) sp2.AddSegment(6, 300) ALTADS.AddStressProfile(sp2) ALTADS.AddFailure(4, 1, sp, sp2) ALTADS.AddFailure(5, 1, sp, sp2) ALTADS.AddFailure(6, 1, sp, sp2)