You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# this is a script that randomly chooses and deselects (which is sort of the same as selecting from) a currently selected batch - just select your objects or collection and then run it from the text editor
# you can also do this with the Select -> Select Random tool and the ratio slider, but I needed it for a more specific edge case, so, here it is:
import bpy
import random
# Get currently selected objects
selected_objects = bpy.context.selected_objects
# Calculate 25% of the total (you can change this number as needed)