4
votes
Accepted
How to get not active object?
Selected objects are queried with bpy.context.selected_objects.
The active object is queried with bpy.context.active_object.
Thus you can query all selected, non active objects with something like <...
4
votes
Accepted
How can I run a function when opening Blender that requires context?
Add a Cube when registering Add-on
...
1
vote
Accepted
AttributeError: 'NoneType' object has no attribute 'type'
This error is not coming from your script at all. It’s coming from the Power Sequencer addon, as stated in the source file location in the traceback. If your script is failing, it is either not ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
python × 13277scripting × 4815
add-on × 1202
game-engine × 665
animation × 646
interface × 627
mesh × 617
rendering × 481
objects × 442
operator × 429
properties × 421
materials × 392
node-editor × 382
bmesh × 312
modifiers × 279
transforms × 268
export × 261
vertices × 258
camera × 243
3d-view × 238
import × 233
drivers × 231
armature × 229
uv × 228
image × 223