All Questions
29
questions
1
vote
1
answer
70
views
How to select only deformation bones?
Is there a way to select all bones from the vertex group of the mesh?
I have too many overlapping bones that are very tedious to work and some are non-deformer which I wanted to hide and only work ...
3
votes
1
answer
144
views
How Can I Automatically Separate a Mesh into Individual Faces (meshes) in Blender?
How do I separate a selected mesh into multiple meshes based on its faces.
What I know how to do: enter Edit mode, select a face of a cube, press P for separate, press S for selection, and repeat this ...
0
votes
0
answers
97
views
How to force Context to be 'Outliner' for using 'bpy.ops.outliner.select_walk' in the 3D Viewport?
I've been trying to use the 'bpy.ops.outliner.select_walk' functionality which walks up and down the list of objects in the outliner with the arrow keys. I want to use this functionality while in the ...
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:
<...
3
votes
3
answers
339
views
Blender Python: How to test for "selectable" objects in viewport?
Is there a way to check if objects are selectable in Blender Python?
The code below checks if an object is visible, but is there also something to check if an object is also selectable in viewport?
...
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:
...
0
votes
1
answer
255
views
How to retrieve the GlobalId from a selected object on an IFC file?
I am trying to start a script to export attributes from selected objects from an IFC file in BlenderBIM, but I am getting an error "'Object' has no attribute 'id'". This is the code so far:
<...
2
votes
1
answer
756
views
Python: How to select only outer faces that are exposed to light via script?
EDIT: Since it's impossible to select only the outer faces using Blender's UI tools, I'm looking for a Python solution that will check each face to see if it does have a certain degree of light (...
0
votes
1
answer
44
views
Use data from selected object in python scripting
In this picture I have a cube selected and in the transform panel you can see the cube's data, such as location and rotation. Is there a way to use the data of this selected object, like the x-...
1
vote
1
answer
35
views
Blender changes location of loop cut after selecting vertices
I have a script that creates a frustum with an upper lip and I add a loopcut to the mesh to create that lip. When I run the script until the first return in my code, it works fine. But when I run it ...
1
vote
1
answer
274
views
How to detect if a mesh has split UV island instead of single island, using Python?
So, Lets understand the problem or the issue I am trying to resolve. Lets say I have two mesh in the viewport as in the image.
First mesh is a square with 2 loop cuts or 3 faces. And second is square ...
0
votes
1
answer
218
views
How to Select all objects that have the subdivision surface modifier?
I saw this example of how to select objects by name with a script, I would like to know if anyone knows how to modify it to be able to select all the objects with the subdivision surface modifier.
...
1
vote
0
answers
64
views
Select Mesh from scene which has volume equal or close to the active mesh
I am trying to develop a code which can Calculate volume of active mesh object and find another mesh and select it from scene which has volume equal to active mesh or (smaller or greater than active ...
0
votes
1
answer
36
views
Joining & Rotating objects created in code through loop
I'm a Blender & Python newb, so the nuances haven't been all that enjoyable :)
I'm trying to create a 1x2 stack of cubes that joins and rotates each layer by 45 degrees. Below is the code I have, ...