DriveConstraintSettings Object


Description

.

Methods

Name Description
GetIncrement Returns how the increment was specified and the value.
GoToEnd Advances the constraint to the end value.
GoToStart Returns the constraint to the start value.
PlayForward Drives the constraint forward.
PlayReverse Drives the constraint in reverse.
SetIncrement Sets the increment type and the value.
StartAVIRecording Starts recording the drive constraint animation for saving to an avi file.
StartWMVRecording Starts recording the drive constraint animation for saving to a wmv file.
StepForward Advances the constraint by one step.
StepReverse Reverses the constraint by one step.
StopRecording Stops recording the drive constraint animation and generates the animation file.

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
CollisionDetection
DriveAdaptivity
EndValue
FrameRate
IsInitialized Returns whether the drive constraint parameters have been set for this constraint.
Parent Gets the parent object from whom this object can logically be reached.
PauseDelay
RepetitionCount
RepetitionStartEndStart
StartValue
Type Returns an ObjectTypeEnum indicating this object's type.

Events

Name Description
OnCollision Event that is fired whenever a collision occurs during the animation/play of the constraint.

Version

Introduced in version 2012