9fcddeca02
update amznchartools
11 lines
497 B
Python
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}")
|
|
|