InitialCondition (hwx.inspire.motion)

Represents the velocity of parts/rigid groups at the beginning of the simulation.

Inherits:

Attributes

active: Bool direction: Direction location: Location
magnitude: Double name: Attribute parts: Attribute
referenceFrame: Attribute rigidGroups: Attribute visible: Bool

Properties

Public Methods

classmethod hideICs (cls)
classmethod showICs (cls, on=True)
snapToCG (self)

Attribute Details

active : Bool

Returns or sets the object activeness.

Setting this on or off sets all children. Setting to True sets all the parents active too.

direction : Direction

Specifies the direction of the initial condition object..

location : Location (units=”length”)

Specifies the location of the initial condition object.

magnitude : Double (units=”velocity”)

Specifies the magnitude of the initial velocity.

name : Attribute

Returns or sets the name of the object.

It can be any text string, including spaces, although it’s best to avoid using the following characters: ” ‘ * ? and $.

While these characters are allowed, they could create difficulties when you export the model to other applications.

parts : Attribute

List of parts for which initial conditions are specified.

referenceFrame : Attribute

Specifies a reference system.

  • Positionable: The position of the initial condition is set using the Move tool.
  • System: The direction is dictated by the selected local system.

rigidGroups : Attribute

List of rigid group which initial conditions are specified.

visible : Bool

Determines whether the object is visible in the modeling window.

Setting this on or off sets all children. Setting to True sets all the parents visible too.

Property Details

position()

Specifies the position of the initial condition object.

velocity()

Returns and sets the initial velocity of the object.

Method Details

classmethod hideICs(cls)

Hides the graphical glyphs for the initial condition objects.

classmethod showICs(cls, on=True)

Shows the graphical glyphs for the initial condition objects.

snapToCG(self)

Snaps the initial condition object to first part’s center of gravity.