Blender 3D

How to check if Blender object property/attribute is read-only

To check is an attribute/property of any Blender object (mesh, node, modifier, etc.) read-only:

  1. With the is_property_readonly function, execute the following command:

<object> .is_property_readonly (‘<property name>’)

  1. Through the rna structure, execute the following command:

<object> .bl_rna.properties [‘<property name>’]. is_readonly

For example, for the “is_editmode” mesh property (is the mesh in edit mode or not):

Automatically changing the orthographic mode – perspective mode in Blender 2.8

In the new Blender 2.80 in the “3D View” window (3D Viewport), when scrolling a wheel to zoom or pressing the num pad buttons (1, 3, 7, 9) to center the view to different sides, the projection mode automatically changes between orthographic and perspective.

To disable this automatic mode changing, in the “User Preferences” window – “Navigation”, change the value of the Auto Perspective checkbox:

 

Blender 2.80 Beta released

Blender 2.80 Beta released now.

This version available for download from the official developer Blender site builder.blender.org/download

Highlights:

  • The release, of course, is not stable and is not recommended for use in production.
  • The estimated release date of the stable release is after 4 months.
  • The API is declared stable, but some minor changes can be made. Add-on developers are encouraged to start porting their add-ons to 2.80.
  • The bug-tracker opens for any bug reports.

How to find out in what version of Blender the blend file was saved

To check in what version of Blender the blend file was saved:

  • Open your file in Blender
  • In the Python Console window execute the following command:

Or open the blend file in any text editor, for example in Notepad++. The Blender version will be listed in the first 15 characters.

Also, the version of the open blend file can be viewed in the Outliner window in the Data Blocks group:

How to get the version of the add-on installed in Blender

A complete list of add-ons installed in Blender we can get using the addon_utils:

Having the add-ons list, we can get the version of the desired add-on by its name with the following code:

Where the ADD-ON_NAME is the name of the desired add-on.

If the add-on is missing a version indication, the default result will be returned.