from tdw.object_data.composite_object.composite_object_static import CompositeObjectStatic
Static data for a composite object and its sub-objects.
-
object_idThe ID of the root object. -
non_machinesNonMachineStaticsub-objects such as puzzle pieces. Key = The sub-object ID. -
lightsLightStaticsub-objects such as lamp lightbulbs. Key = The sub-object ID. -
hingesHingeStaticsub-objects such as doors. Key = The sub-object ID. -
springsSpringStaticsub-objects such as an oven door (which has a damper value). Key = The sub-object ID. -
motorsMotorStaticsub-objects such as a ceiling fan. Key = The sub-object ID. -
prismatic_jointsPrismaticJointStaticsub-objects such as a desk drawer. Key = The sub-object ID. -
sub_object_idsA flat list of all sub-object IDs.
CompositeObjectStatic(static_composite_objects, object_index)
| Parameter | Type | Default | Description |
|---|---|---|---|
| static_composite_objects | StaticCompositeObjects | The StaticCompositeObjects output data. |
|
| object_index | int | The index in static_composite_objects.get_object_id(). |