Sets the study association data for this fatigue event.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetStudyAssociationData( _
ByVal NCount As Integer, _
ByVal VarStudyNames As Object, _
ByVal VarScales As Object, _
ByVal VarSteps As Object _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICWFatigueEvent
Dim NCount As Integer
Dim VarStudyNames As Object
Dim VarScales As Object
Dim VarSteps As Object
Dim value As Integer
value = instance.SetStudyAssociationData(NCount, VarStudyNames, VarScales, VarSteps)
|
Parameters
- NCount
- Number of study associations
- VarStudyNames
- Array of reference study names
- VarScales
- Array of scale factors to apply to the scaled loads of studies in VarStudyNames to calculate the alternating stresses; valid only if VarStudyNames contains the names of linear studies
- VarSteps
- Array of solution steps whose stress results are used to calculate the alternating stresses; valid only if VarStudyNames contains the names of nonlinear or linear dynamic studies
Return Value
Error code as defined in
swsFatigueEventEndEditError_e
Example
See Also
Availability
SolidWorks Simulation API 2012 SP0