Inertia (hwx.inspire.Attributes)#

class Inertia(fget=None, fset=None, doc=None, default=None, **kwds)#

Bases: Attribute

Inertial attributes is used to store any inertial values.

Components of the inertia property are ixx, iyy, izz, ixy, ixz, iyz.

Attribute Table#

Name

Type

attr

str

units

str

Method Table#

Name

Description

getGuiComponentNames (self, obj)

populateGuiComponentValue (self, obj, prop, component)

setGuiValue (self, obj, value, component)

getGuiComponentNames(obj)#

To edit sub-components of the attribute value in the Property Editor.

E.G Location attribute is shown as:

Location X Location Y Location Z

Returns:

list[str] | None

setGuiValue(obj, value, component)#

Called by browser to set value.

Must be overloaded to handle the component when getGuiComponentNames returns values.

Value#

alias of Value