Created
November 14, 2017 22:27
-
-
Save sojack/edb775744bd425a38dc740e89fd6d17c to your computer and use it in GitHub Desktop.
blender iterate over selected items and perform an action
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// code meant to be run on the python console | |
//blender iterate over selected items and perform an action | |
// in this case increase the resolution of a curve and extrude by a certain ammount | |
for nr, obj in enumerate(bpy.context.selected_objects): | |
obj.data.render_resolution_u = 24 | |
obj.data.extrude = 0.006 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment