All Questions
6
questions
3
votes
2
answers
345
views
How can I fully select a collection using python with blue highlight?
I have found this thread and several other threads but nothing with any legit answers. We can somewhat select a collection using for example this script that "selects" the one at index 2:
<...
2
votes
1
answer
59
views
msgbus for collection selection in outliner
I want a callback for Collection selections in the Outliner.
So far I already found a common solution for object selections:
...
2
votes
1
answer
266
views
How can I get all selected collections in the Outliner?
In 2022 there was an answer to a question over at
devtalk.blender.org about selecting multiple collections.
The answer was this code segment:
...
1
vote
1
answer
3k
views
How can I count objects that are in a collection instance using Python?
I have this script which should count all the selected objects in the scene, but it doesn't. It cannot count the 6 monkeys that are part of a collection instance.
Can you help me?
...
0
votes
1
answer
565
views
How to sort objects from a collection using python?
So I'm trying to animate a rubiks cube via a python script using the scripting capabilities given with Blender.
My current cube looks like this:
It consists of 27 separate objects (cubelets) that ...
1
vote
1
answer
2k
views
How to select objects by collection from selected objects in the scene with Python?
I just started using python and got stuck.
I found this script which is used to take the selected objects from the scene and add them to a list based on the name of the material.
I should do almost ...