Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 376 Bytes

Parenting.md

File metadata and controls

11 lines (8 loc) · 376 Bytes

More examples of parenting, with respect to dupliverts / duplifaces.

If you want to parent one object to another, don't use bpy.ops, use the .parent attribute instead. For example if you have a Cube and want it to be the parent of a Sphere.

objects = bpy.data.objects
cube = objects['Cube']
sphere = objects['Sphere']
sphere.parent = cube