Skip to main content
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 <...
Gorgious's user avatar
  • 31.6k
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 ...
TheLabCat's user avatar
  • 6,731

Only top scored, non community-wiki answers of a minimum length are eligible