Currently, i'm now using python script to modifiy ansys mechanical model setup.
I want to promote bolt load to static structural, as is shown in the image below.

imported bolt load is already obtained, but the following code is not working.

====
- run the code in Shell
bolt = DataModel.GetObjectsByType(DataModelObjectCategory.ImportedBoltPretensions)
bolt[0].Promote([0], 1, 1)
This causes a collapse of mechanical.
How to correct the code?