Files
blender-portable-repo/extensions/user_default/amzncharactertools/ops/RemoveDevicesSettings.py
T
Raincloud 9fcddeca02 work
update amznchartools
2026-03-18 18:03:21 -06:00

11 lines
497 B
Python

import bpy
# Simple operator script that removes the 'Devices' custom property from the active pose bone.
# Usage: enter Pose Mode, select the Settings pose bone, then click the button in the Devices panel.
try:
bpy.ops.wm.properties_remove(data_path="active_pose_bone", property_name="Devices")
except Exception as e:
# This will fail if the context isn't correct; keep it minimal and print for debugging.
print(f"Failed to remove 'Devices' property via wm.properties_remove: {e}")