MJLMills / rhorix

Python 3.3 Blender Add-On for Importing QCT Data
Other
1 stars 1 forks source link

Add useful GUI items #24

Open MJLMills opened 8 years ago

MJLMills commented 8 years ago

https://www.blender.org/manual/editors/python_console.html#

MJLMills commented 8 years ago

Selection of objects with buttons: In the bpy.data module, the individual objects have a Boolean property 'select'.

MJLMills commented 8 years ago

Can select by name of object: bpy.ops.objects.selected_pattern(pattern="cp") for sel in bpy.context.selected_objects: sel.hide_render = True

MJLMills commented 7 years ago

bpy.ops.object.select_pattern(pattern="")