All Questions
1,201
questions
1
vote
2
answers
1k
views
How to pass a property from popup to execute
I'm writing a Curve Outline Addon which works quite nice as a script, but I'm getting confused with the UI integration: I would like a simple popup asking for the Outline amount which interactively ...
3
votes
1
answer
1k
views
Getting a stack trace when addon crashes Blender
I am developing an addon for Blender 2.69, and a specific python library call is causing Blender to crash. I have tried to enclose the call in a try-catch block, but it still crashes. As a result, I ...
2
votes
1
answer
2k
views
Export modifier, not apply
I'm making an exporter for Blender to Metasequoia. (the import while come later)
Metasequoia 3d file are compatible with modifier like mirror and subdivision surface
I really don't want to apply them ...
6
votes
2
answers
756
views
Is it possible to add a new window type using the Python API?
It seems that it is possible to add new panels and regions but not new window types (editors) using the Python API.
Is this true? And if so, is it possible that this could be added in the future?
3
votes
1
answer
7k
views
'Mesh' object has no attribute 'faces'
I'm trying to do an export plugin for Blender 2.69 to metasequoia file (.mqo).
Vertex is exported but i have some trouble with faces.
I used this has a reference but it's for blender 2.5 so i think ...
3
votes
1
answer
602
views
Is it possible to execute an add-on when choosing 'New' to open the default file?
I am interested in creating a script that would prompt the user to either set up or starting working in a set of project folders when blender starts up. Thanks
more details...
I was hoping to do ...
3
votes
1
answer
1k
views
How to make operator data persistent?
My addon needs just one button currently and I'd like it to work as a start/stop button. But on every button press Blender creates a new instance of the corresponding ...
1
vote
1
answer
422
views
When exactly __init__() of bpy.types.Panel subclass must be executed?
I'm getting it run every time I hover a mouse over the button. Isn't it a bug? I thought it must be executed just once on addon activation.
14
votes
2
answers
5k
views
Why does operators bl_idname have to contain 1 dot?
Since anything before and after the dot is arbitrary, why bother?
Related error:
...
0
votes
1
answer
836
views
How can I enable the Laplacian Lightning Generator?
The Laplacian Lightning Generator addon broke with some recent API changes, as reported in this bug.
Attempting to enable it results in this:
...
17
votes
1
answer
5k
views
How can I get a list of the installed addons using the API?
How can I get a list of the installed addons and the version number so I can print out and use as a simple reference when checking for updated scripts? I've looked at ...
30
votes
3
answers
20k
views
Is there a way to restart a modified addon?
I'm currently twiddling with an old addon and insert some print statements for debugging. Currently I'm restarting Blender each time to see the new messages. Is there a way to 'refresh' an already ...
7
votes
2
answers
2k
views
Dynamic creation of properties for export script
This time I have a question about Properties in Blender. I want the operator window of my add-on to have one BoolProperty per action defined in ...
12
votes
1
answer
3k
views
How can I call a specific keymap to draw within my AddonPreferences?
The add-on I've written defines several custom hotkeys, allowing the user to call custom menus created by the add-on. To be more user-friendly, I'd like to make it easy for the user to change the ...
-3
votes
1
answer
4k
views
proper bpy.ops context setup in a plugin [closed]
How can I properly set up context in plugins?
I am importing Digital Terrain Models using a python plugin.
...