newton.ModelAttributeAssignment#

class newton.ModelAttributeAssignment(value)[source]#

Bases: IntEnum

Enumeration of attribute assignment categories.

Defines which component of the simulation system owns and manages specific attributes. This categorization determines where custom attributes are attached during simulation object creation (Model, State, Control, or Contacts).

CONTACT = 3#

Contact attributes are attached to the Contacts object.

CONTROL = 2#

Control attributes are attached to the Control object.

MODEL = 0#

Model attributes are attached to the Model object.

STATE = 1#

State attributes are attached to the State object.