Fired at every integrator or output time step when a motion simulation is occurring and
external motors exist.
.NET Syntax
Visual Basic (Declaration) | |
---|
Public Delegate Function DMotionStudyEvents_MotorOutputTimeStepChangeNotifyEventHandler( _
ByVal Time As Double, _
ByVal MotorNames As Object, _
ByVal Position As Object, _
ByVal Velocity As Object, _
ByVal Acceleration As Object, _
ByVal ForceOrTorque As Object, _
ByRef MotorValue As Object _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As New DMotionStudyEvents_MotorOutputTimeStepChangeNotifyEventHandler(AddressOf HandlerMethod)
|
Parameters
- Time
- Output time when the event is fired
- MotorNames
- Array of strings containing the names of the external motors
- Position
- Array of doubles indicating the position of each external motor; the order of these values corresponds to the order of the names in MotorNames
- Velocity
- Array of doubles indicating the velocity of each external motor; the order of these values corresponds to the order of the names in MotorNames
- Acceleration
- Array of doubles indicating the acceleration of each external motor; the order of these values corresponds to the order of the names in MotorNames
- ForceOrTorque
- Array of doubles indicating if an external motor is a linear motor (force) or a rotary motor (torque); the order of these values corresponds to the order of the names in MotorNames
- MotorValue
- Array of doubles indicating the value of the motor (position, velocity, or acceleration) at the next output time step; these values are used internally for doing interpolation during the integrator time steps; the order of these values corresponds to the order of the names in MotorNames
Example
Remarks
Availability
SolidWorks 2009 FCS, Revision Number 17.0