Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fooList = get_objects_starting( 'foo' )
- for obj in fooList:
- foo_exporter( obj )
- barList = get_objects_starting( 'bar' )
- for obj in barList:
- bar_exporter( obj )
- import bpy
- import fnmatch
- scene = bpy.context.scene
- foo_objs = [obj for obj in scene.objects if fnmatch.fnmatchcase(obj.name, "foo*")]
- foo_objs = [obj for obj in scene.objects if obj.name.startswith("foo")]
- import bpy
- foo_objs = [obj for obj in bpy.data.objects if obj.name.startswith("foo")]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement