Edit SkeletalMeshLODSettings DataAsset with Python

Is it possible to edit SkeletalMeshLODSettings DataAssets with Python? I am ultimately trying to edit the bone list. But even setting simple float properties in the LODGroups seems to have no effect.

`lod_groups = lod_settings.get_editor_property(“lod_groups”)

This works and empties the array

lod_groups.clear()

These do nothing

lod_groups[1].set_editor_property(“lod_hysteresis”, 0.5)
lod_settings.set_editor_property(“lod_groups”, lod_groups)`

Hey there,

The lod_group internal is a struct and whenever you fetch a struct you often get a copy. So you would need to do:

lod_group_entry = lod_groups[1] lod_group_entry.set_editor_property("lod_hysteresis", 0.5) lod_group[1] = lod_group_entry lod_settings.set_editor_property("lod_groups", lod_groups)Dustin

That is it, thank you!