Featured post

new redirect for blender.org bpy docs.

http://www.blender.org/api/blender_python_api_current/ As of 10/11 november 2015 we can now link to the current api docs and not be worr...

January 15, 2019

Blender bpy for 2.80+

With progress comes change.


Most of this info is found at 

https://en.blender.org/index.php/Dev:2.8/Source/LayersCollections/API-Changes
https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API

my condensed version to self is:

linking objects to scene in 2.80

bpy.context.scene.objects.link
bpy.context.collection.objects.link


setting object to active in 2.80

bpy.context.scene.objects.active = ob
bpy.context.view_layer.objects.active = ob

object.to_mesh in 2.80

+ obj.to_mesh(bpy.context.depsgraph, apply_modifiers=bool, calc_undeformed=bool)


selecting objects

- object.select
+ object.select_get()
+ object.select_set()