0
$\begingroup$

I am trying to find some documented list of types like: bpy.types.VIEW3D_*, bpy.types.3D*, bpy.types.TOPBAR_MT* and other types that relate to parts of the UI, especially those that relate to where I can prepend/append menu items.

In this particular case: a new RMB menu item to add a custom property and paste as a driver. But in general to find out where these are documented or how to obtain a list. If I type bpy.types.[escape] into the console the resulting list is too long.

Something like:

for t in bpy.types:
    print(t)
$\endgroup$
2
  • 2
    $\begingroup$ dir(bpy.types) $\endgroup$
    – scurest
    Mar 17 at 17:42
  • 1
    $\begingroup$ @scurest - danke! $\endgroup$
    – james_t
    Mar 17 at 18:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.