CModel.SetUseStress
Jump to navigation
Jump to search
Sets use stress value for a particular stress.
Method Syntax
SetUseStress
( ByVal
Index
As Integer,
ByVal
StressValue
As Double
)
Sets use stress value for a particular stress.
SetUseStress
( ByVal
StressValues()
As Double
)
Sets use stress value for a particular stress.
Parameters
Index The 0-based index of the Stress of which to update the Use Stress.
StressValue The UseStress to update.
StressValues An array of UseStresses that correspond to the array of Stresses in the model.
Usage Example
Declare the cModel class using an in-line parameter list.
Dim newModel As New cModel(ModelTypeEnum.Weibull2, ModelCategoryEnum.Reliability, "NewModel1", 1, 100)
Change the model type and parameters.
newModel.SetModel(ModelTypeEnum.Lognormal, 2, 200)