Creates an animation that rotates the model.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IMotionStudy
Dim DeleteExistingPath As Boolean
Dim Axis As Integer
Dim RotationCount As Integer
Dim Direction As Integer
Dim Duration As Double
Dim StartTime As Double
Dim value As Boolean
value = instance.CreateByRotateModel(DeleteExistingPath, Axis, RotationCount, Direction, Duration, StartTime)
|
Parameters
- DeleteExistingPath
- True to delete any existing animation sequences, false to not
- Axis
- Axis about which to rotate the model as defined by swAnimatorAxisOfRotation_e
- RotationCount
- Number of rotations
- Direction
- Direction of rotation as defined by swAnimatorDirectionOfRotation_e
- Duration
- Length of time of the animation in seconds
- StartTime
- Time to start this animation (see Remarks)
Return Value
True if the animation is created, false if not
Example
Remarks
See Also
Availability
SolidWorks 2008 FCS, Revision Number 16.0