2

I wanted to view all the stuff inside bpy.types so I used the autocomplete inside the python console. However the results are cut off. How can I get the full list? I'm trying to find a method so I can call a function as soon as anything is imported.

enter image description here

Where the autocomplete list starts

brockmann
  • 12,613
  • 4
  • 50
  • 93
kojocrash
  • 155
  • 5
  • 1
    In answer to title dir(bpy.types) produces a list of strings eg "VIEW3D_PT_overlay" the class being cls = getattr(bpy.types, "VIEW3D_PT_overlay") – batFINGER Jan 28 '20 at 06:29

1 Answers1

0

Okay I found an alternative situation. I wanted to make a dropdown menu that added all armature objects in the loaded file. My idea was for it to update every time an object is imported. I was able to achieve this based on dynamic list examples of this website:

https://elfnor.com/drop-down-and-button-select-menus-for-blender-operator-add-ons.html#dynamic-lists

brockmann
  • 12,613
  • 4
  • 50
  • 93
kojocrash
  • 155
  • 5