I'm currently creating an addon for Blender and got stuck at following task: -I want to select one object with an unknown name from a group with known name -I want this object to be an object instance that can be used in the following code
I tried many different things, but none of the worked. One Idea was to list all objects of the group and than select one.
newest try:
bpy.ops.object.select_same_group(group=scene.object_group)
# select one object randomly from the actives
scene.object_group is a strong property with the group name