All Questions
245
questions
0
votes
1
answer
161
views
How to make custom hotkeys? [duplicate]
Is there a way to make a custom hotkey for specific functions?
Like to solve my problem here:
I’m working on a piece, its a replica and I have many references setup in some collections and I need to ...
2
votes
4
answers
862
views
Python path for allowing animation of viewport and render visibility of objects
EDIT: It turns out I formulated this question out of a misunderstanding of my own old code. See @batFINGER and @scurest answers.
I'm working on a script which automates some animation, which includes ...
1
vote
1
answer
319
views
Slicing an object into parts along axes other than x, y, z with a python script
Using these examples
Slicing an object in 4 parts
How can I evenly split a cube?
I was able to cut an object into pieces along the x, y and z axes with a python script. But I can't do it along ...
0
votes
1
answer
371
views
Removing objects from collection with script works but gives an error
I'm sorry in advance if my script looks really messy and not optimised, it's my first time using python or a dev language for that matters.
I've tried to setup a script that, among other things, ...
1
vote
1
answer
660
views
Creating Millions Of Particles With Spheres
I have a scene where I need to put in millions of particles. I want to represent each particle with a primitive, for example, a meta-ball object. All the particles can share the same primitive. The ...
1
vote
2
answers
2k
views
How to *efficiently* find all lights within a scene?
I'd like to fill a custom UI list with all the lights that are in the current scene, but am unsure of the best way to do this. We could iterate over ...
0
votes
1
answer
863
views
How to add an Empty to all selected objects? [duplicate]
I have about 30 planes and would like to add an empty to each one of them, is there a way to do it using python instead of having to do it manually?
0
votes
1
answer
188
views
How to connect two vertices of two objects in python
I have two objects where I want to randomly link different vertices. Is there a way to select two vertices and connect them if I know their coordinates?
3
votes
1
answer
239
views
Addon script not working
I am newbie to Blender scripting, but I am trying to make very simple Addon with the help of the YT tutorial that looks like this but it is giving me error that something is wrong, tho there is no ...
3
votes
1
answer
985
views
toggle hide/unhide parent and children objects at once similarly to the outliner Shift+LMB function
Is it possible to simulate the Shift+LMB for hiding a parent object with its children as in the outliner. Now based on this and this I am iterating over the ...
0
votes
1
answer
1k
views
Blender crashed and now when I try to open the file still crash! [duplicate]
I was duplicate a simple mesh with just edges and Blender crashed tried to reopen but recrash, tried to restart computer and still crash and now I have any auto save files showed, also the automatic ...
1
vote
1
answer
48
views
Cannot Create Multiple Copies of Two Objects
I have two large objects on my scene.
...
1
vote
1
answer
77
views
Animate between script-drawn frames?
A am making a scientific animation of cell development in a plant stem, as though you could watch time-lapse through a microscope. The cells "grow" as Python data structures, and their ...
0
votes
1
answer
2k
views
How do I rename all object as same as their material name?
Newbie. I have a scene with so many objects. I want to rename them at a single time same as their material name. How do I do that? Is their any script/plugin?
1
vote
0
answers
119
views
Scripting Scaling based on custom properties
I am having an issue, and according to suggestion in my previous question PREVIOUS POST I am writing it as another question.
I have a small project where I have a cylinders with custom properties data ...