I have a script that imports a rigged .glb file and I'd like to apply one of the poses from my pose library to the armature.
If I do this manually, the API is:
bpy.data.workspaces["Scripting"].active_pose_asset_index = 3
bpy.ops.poselib.apply_pose_asset(blend_factor=1, flipped=False)
But I cannot find the equivalent to the first line for assigning the active_post_asset_index
within a script.