Gets the stress values for the specified type of stress for the selected beams.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ICWResults
Dim NComponent As System.Integer
Dim NStepNumber As System.Integer
Dim ArraySelectedEntities As System.Object
Dim NUnits As System.Integer
Dim ErrorCode As System.Integer
Dim value As System.Object
value = instance.GetBeamStressForEntities(NComponent, NStepNumber, ArraySelectedEntities, NUnits, ErrorCode) |
Parameters
- NComponent
Type of stress as defined in swsBeamStressType_e
- NStepNumber
Number of steps to complete a non-linear analysis; otherwise, value is 1
- ArraySelectedEntities
Selected beams
- NUnits
Unit as defined by swsUnit_e
- ErrorCode
Error as defined by swsResultsError_e
Return Value
Array of the stress values for the specified type of stress for the elements of the selected beams. Every element has two ends, so the output is as follows:
- Beam element number
- End1 stress
- End2 stress
- Beam element number
- End1 stress
- End2 stress
- etc.
Example
See Also
Availability
SOLIDWORKS Simulation API 2010 SP0