5
$\begingroup$

I made a group of different objects with different set of modifiers for each one. I wanted to add a lattice modifiers to this group to be able shape its form... it is possible? I tried with no sucess... It seems something very useful, i'm impressed something like this isn't implemented in blender yet...

$\endgroup$
7
  • $\begingroup$ Possible dupe of Array a group of objects. $\endgroup$
    – iKlsR
    Sep 29 '14 at 3:10
  • 3
    $\begingroup$ No, unfortunately not. Modifier nodes are planned for someday, which would allow for this kind of thing. For now you will either have to add the modifiers manually or with a quick python script. Or apply the existing modifiers and join the objects with Alt C > Mesh, Ctrl J. Then add the modifier to the resulting object. $\endgroup$
    – gandalf3
    Sep 29 '14 at 3:41
  • 2
    $\begingroup$ If you are asking how to add the same modifier to all the selected objects without having to do each one manually then you can select them all and add a modifier to one of them and then use Make Links(Ctrl+l) then choose->Modifiers. It's not entirely clear what you are asking so I could be way off here. $\endgroup$ Sep 29 '14 at 7:30
  • $\begingroup$ @MarcClintDion Your tip may help me... thank you!;) $\endgroup$ Sep 29 '14 at 14:44
  • $\begingroup$ @gandalf3 I'm not wanted to join the meshes for memory saves (I've made copies ALT+D of these objects to reduce memory usage and render time) it is a high poly stairs handrail with a lot of details. But I've discovered that I can apply the same lattice for each one of the objects and then I'll be able to shape them all together. Lets hope that the ability of apply modifiers to mesh groups arrive soon in Blender. It will make the solution for these situations, a lot easier. Thanks for your explanations! ;) $\endgroup$ Sep 29 '14 at 14:53
3
$\begingroup$

Modifiers can be easily added using python.

target_lattice = bpy.data.objects['Lattice']

for obj in bpy.data.groups['Group'].objects:
    new_mod = obj.modifiers.new(type='LATTICE', name='Lattice')
    new_mod.object = target_lattice
    new_mod.strength = 0.5

Instead of all objects in a group you can use the selected objects with bpy.context.selected_objects

By changing type='LATTICE' you can add any modifier you want. Each modifier has different property names which can be seen in tooltips when python tooltips are enabled.

$\endgroup$
1
  • $\begingroup$ Awesome! I'll try that! Thank you so much! ;) $\endgroup$ Sep 30 '14 at 11:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.