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 Gets and sets whether to drive the constrained assembly until a collision is detected.
DriveAdaptivity Gets and sets whether to adapt components while maintaining constraint relationships.
EndValue Gets and sets the expression for the end value.
FrameRate Gets and sets the increments at which a "snapshot" is taken for inclusion as a frame in a recorded animation.
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 Gets and sets the delay between steps in seconds.
RepetitionCount Gets and sets the number of repetitions for the Start/End sequence and the number of cycles for the Start/End/Start sequence.
RepetitionStartEndStart Gets and sets whether to drive the constraint from the start value to the end value and then in reverse to the start value.
StartValue Gets and sets the expression for the start value.
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