All Questions
1,201
questions
1
vote
1
answer
3k
views
Cant change objects' property - Writing to ID classes in this context is not allowed. location: <unknown location>:-1
I can change object's property using operator or just pasting bpy.data.objects["BF_platform_twelve"].hide_viewport = True at the beigining of file or in ...
1
vote
1
answer
38
views
Addon works from Text Editor, but fails to enable from Add-ons preferences [duplicate]
I've written very simple addon that exports triangulated and quad mesh of selected object, deleting all material slots and applying transformation. And all work fine if I run it from the Text Editor, ...
2
votes
0
answers
98
views
Custom Blender Python icons with adjustable colours
I am writing a Blender add-on and I want to add a custom icon into the UI panel.
I can do this with bpy.utils.previews, but it seems to only want PNG files so if I ...
0
votes
0
answers
21
views
Georeference 3D data generated using BlenderGIS
I generated a 3D model (terrain + extruded buildings) using BlenderGIS,and I was wondering if I could integrate them into an ifc project having the right georeferencing using BlenderBIM. The problem ...
0
votes
0
answers
13
views
How do I close an area using Python in Blender 4.1? [duplicate]
I want to close a panel from within my Python addon. Existing questions and answers seem to yield results that no longer work as they are very dated. The suggested code to run is:
...
0
votes
2
answers
260
views
Function not working when being called by operator
I'm doing a scritp with several functions. All of them have been tested and work fine if you execute them from a py file. The problem is when I put them on an operator and call them when pressing the ...
1
vote
0
answers
36
views
Is there a way to restart a modified addon without restarting blender? [closed]
This was answered 10 Years ago. Unfortunately, it doesnt work anymore.
It should be a simple console command:
bpy.ops.script.reload()
However, it only reloads the <...
0
votes
1
answer
393
views
Import Python Dependencies from current script/addon directory. (Filepath shows up as /script.py, or blender install)
I'm trying to import a github python directory, which is not on PyPi, and I am attempting to develop an addon for blender. I cannot use the method which automatically downloads dependencies because of ...
3
votes
1
answer
56
views
How can I instantiate a Simulation Zone input / output node's socket via python?
I couldn't find an interface like the node tree interface where I can add sockets using interface.new_socket(). In the documentation, the only method I found for ...
3
votes
1
answer
463
views
Custom Icons not showing up in Add-on
The structure of my add-on files is this:
...
30
votes
1
answer
11k
views
How to implement custom icons for my script/addon?
Is it possible to use different icons other than the default set and how?
0
votes
1
answer
346
views
Python Registration Error
I have been using Blender for a bit, I have made an animation, rendered images and many other things. I was using Blender 2.8 Beta and it worked great for a long time. However, it stopped working now, ...
3
votes
1
answer
636
views
Writing a plugin: How do you stop a process running in another thread?
I started writing a plugin for Blender that accepts Open Sound Control messages for direct manipulation of data in realtime. I ran into a snag that made me uneasy about releasing it: when I close ...
-1
votes
0
answers
23
views
Script for importing an OBJ file as Shape key for blender 4.1
I have blender version 4.1
I’m trying to adapt the script for my version
...
6
votes
1
answer
2k
views
How to wait for an operation - to another operator - to complete within an operator (import_scene)
Besides the point but why is this not working as a default stack is expected to work?
I'm trying to get an operator to call another operator and wait for the operator's response before proceeding.
...