CModel.SetUseStress

Sets use stress value for a particular stress.

Parameters
Index

StressValue

StressValues

Usage Example
Private WithEvents MyRepository As New Repository

Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath")

Dim ListOfModels As NameIdPair ListOfModels = MyRepository.GetAllModelsInfo

Dim AModel as cModel AModel = MyRepository.GetModel(ListOfModels(0).ID)

Dim MyNumStresses As Integer MyNumStresses = AModel.NumStresses

Dim UseStressArray(MyNumStresses - 1) As Double UseStressArray(0) = 500 UseStressArray(1) = 750

AModel.SetUseStress(UseStressArray)