Share

DynamicSimulation Object


Description

The DynamicSimulation object represents a single dynamic simulation.

Methods

Name Description
ComputeSimulation Computes the simulation starting at the current time step and ending at the specified time step.
PlaySimulation Plays the simulation between the specified time steps. The time steps being played must have already been computed.

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.
CurrentTimeStep Gets and sets the current time step of the animation. Valid values are 1 to the LastComputedTimeStep.
DSJoints Gets the DSJoints object which provides access to all of the joints associated with this simulation.
DSLoads Gets the DSLoads object which provides access to all of the loads associated with this simulation.
DSSettings Gets the DSSettings object which provides access to settings associated with this simulation.
IsInSimulationMode Toggles the simulation between simulation and construction modes.
LastComputedTimeStep Gets the last computed time step of the simulation.
NumberOfTimeSteps Gets and sets the number of time steps for the entire simulation.
Parent Gets the parent SimulationManager object.
PlaybackSpeed Gets and sets the speed when playing a simulation. A value of 1 indicates that every time step should be shown, a value of 5 indicates that every fifth time step should be shown, etc.
SimulationLength Gets and sets the simulation length of the simulation in seconds.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

DSJoint.Parent, DynamicSimulations.Item

Samples

Name Description
Play back a simulation This sample plays back an existing dynamic simulation.

Version

Introduced in version 2013

Was this information helpful?