Creates an animation that rotates the model.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IMotionStudy
Dim DeleteExistingPath As System.Boolean
Dim Axis As System.Integer
Dim RotationCount As System.Integer
Dim Direction As System.Integer
Dim Duration As System.Double
Dim StartTime As System.Double
Dim value As System.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