Skip to main content

All Questions

Tagged with
1 vote
2 answers
56 views

How to parent specific objects to newly created collections?

I used this python code to set the parent (link) the specific objects to newly created collection. The code is working well, but I can see the same objects instance outside(Scene Collection) the newly ...
Subin Gopi's user avatar
0 votes
0 answers
12 views

When i set obj parent as bone, it's just jumping away from last position

Before: After: Code: ...
CoCuCka's user avatar
0 votes
0 answers
40 views

Keep Operator alive while ending transform?

I'm trying to make a simple blender script that does the following in one click: enables 'use_transform_data_origin' enables 'bpy.ops.transform.translate'. When 'bpy.ops.transform.translate' exited, ...
2nQrK1w5's user avatar
0 votes
2 answers
40 views

Mirroring/copying relative animations locations?

I want the cube on left to do same animation like the cube on right, but while affecting only the relative location of the left cube. In my right cube I have "location" animation that moves ...
Itay's user avatar
  • 11
0 votes
1 answer
24 views

Python: Rotation not applying to child object

I am trying to pose a hand using values read from an XML file. All the joints are parented to the previous joint and finally the fingers to the hand. Í am using the following code: ...
Felix Küper's user avatar
0 votes
1 answer
62 views

Coding: parenting 1 bone to another bone

I'm trying to make an addon for blender, but I'm having some difficulty with it I'm trying to use a script to select 2 specific bones with a certain name pattern and then parent the first bone to the ...
Daitou Ink's user avatar
0 votes
1 answer
95 views

Simple armature creation script results in a crash when attempting to set bone parenting

My full script is more complex than this, but the issue I'm having can be reproduced with these 9 lines of Python code that create an armature with a single bone: ...
hayden0729's user avatar
0 votes
1 answer
140 views

Change driver target

I have mesh with shapekeys and drivers on said shapekeys which are controlled with armature bones. All shapekeys are set to scripted expression and single prop which is set to said armature. I'm ...
domi's user avatar
  • 15
0 votes
2 answers
180 views

Blender Scripted Expression with distance not working when parented to empty

I am scaling a cube to 1.000 when it is close to a driver (empty placed in the center of the world). The cube has a driver with distance to the empty. See animation below and this works fine. Issue ...
Bravebox's user avatar
1 vote
1 answer
632 views

How can I dress up clothing objects with a python script?

As seen in the picture, I have a collection of clothes consisting of different objects. I need to dress these clothing objects on the model. But I have to do this with code because I should be able to ...
Samet Yıldırım's user avatar
0 votes
1 answer
564 views

Bpy check if each object is parented

I am looking for a way via scripting to check if an object is parented. A way to access the list of its direct children would also be helpful. Thank you.
Zak Nelson's user avatar
2 votes
1 answer
119 views

How to select a parented hierachy from the 3d viewport using the right click menu?

I know that this can be done in a few other ways too, but I want to know if it can be done from the right-click select menu As the title suggests, I want to know if there's a shortcut to selecting a ...
Yousuf Chaudhry's user avatar
0 votes
0 answers
35 views

Programatically unparenting an rigid body doesn't work (with file)

I parented a rigid body to another rigid body. The parent rigid body is keyframed. I want to remove the parent and any lingering keyframing from that parent. Programatically, I tried to remove the ...
Thomas0100's user avatar
0 votes
0 answers
28 views

Recently unparented object doesn't behave independently blender python

I'm trying to simulate stage seperation of a rocket and it requires unparenting the object. It was first parented so it could follow the same route as another stage, but when it was uparented, the ...
Thomas0100's user avatar
1 vote
1 answer
31 views

Parenting results in spontaneoudly moving objects (File included)

I have a rocket with multiple stages. All of these stages are rigid bodies, but they're parented to the topmost stage. They're moving up because I switched the gravity upwards to mimic rocket ...
Thomas0100's user avatar

15 30 50 per page