Gets the force values for the specified force for the selected beams.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ICWResults
Dim NComponent As Integer
Dim NStepNumber As Integer
Dim ArraySelectedEntities As Object
Dim NUnits As Integer
Dim ErrorCode As Integer
Dim value As Object
value = instance.GetBeamForcesForEntities(NComponent, NStepNumber, ArraySelectedEntities, NUnits, ErrorCode)
|
Parameters
- NComponent
Force or moment or torque load to apply to selected entities as defined by swsBeamForceType_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 values of the specified forces for the elements of the selected beams. Every element has two ends, so the output is as follows:
- Beam element number
- End1 force
- End2 force
- Beam element number
- End1 force
- End2 force
- etc.
Example
See Also
Availability
SolidWorks Simulation API 2010 SP0